|
MADNESS 0.10.1
|
tests the exchange operator's batch record keys and its bounded batch cache More...
#include <madness/chem/exchangeoperator.h>#include <madness/world/test_utilities.h>#include <set>#include <string>#include <vector>
Typedefs | |
| using | cacheT = ExchangeBatchLRU< long, std::string > |
Functions | |
| int | main (int argc, char **argv) |
| int | test_batch_cache () |
| int | test_record_keys () |
tests the exchange operator's batch record keys and its bounded batch cache
| using cacheT = ExchangeBatchLRU<long, std::string> |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References madness::finalize(), madness::initialize(), madness::print(), test_batch_cache(), and test_record_keys().
| int test_batch_cache | ( | ) |
References madness::cache, madness::test_output::checkpoint(), madness::ExchangeBatchLRU< keyT, dataT >::contains(), madness::test_output::end(), madness::ExchangeBatchLRU< keyT, dataT >::find(), madness::ExchangeBatchLRU< keyT, dataT >::insert(), k, madness::ExchangeBatchLRU< keyT, dataT >::n_transient(), madness::nonlinear_vector_solver(), madness::ExchangeBatchLRU< keyT, dataT >::set_transient_capacity(), and madness::ExchangeBatchLRU< keyT, dataT >::size().
Referenced by main().
| int test_record_keys | ( | ) |