35 using namespace testing;
50 TEST_CASE(
"DMCDriver+QMCDriverNew integration",
"[drivers]")
52 using namespace testing;
75 DMCBatched dmcdriver(
test_project, std::move(qmcdriver_input), std::nullopt, std::move(dmcdriver_input), walker_confs,
81 std::string root_name{
"Test"};
83 std::string prev_config_file{
""};
85 dmcdriver.
setStatus(root_name, prev_config_file,
false);
93 CHECK(reserved_walkers == 10);
class that handles xmlDoc
TEST_CASE("ListenerVector", "[hamiltonian]")
void pause()
Pause the summary and log streams.
Abstraction of information on executor environments.
helper functions for EinsplineSetBuilder
int rank() const
return the rank
Declaration of OutputManager class.
if(!okay) throw std xmlNodePtr node
void testDependentObjectsValidAfterPopulationChange()
static ParticleSetPool make_diamondC_1x1x1(Communicate *c)
Implements a DMC using particle-by-particle threaded and batched moves.
A set of light weight walkers that are carried between driver sections and restart.
static WaveFunctionPool make_diamondC_1x1x1(const RuntimeOptions &runtime_options, Communicate *comm, ParticleSetPool &particle_pool)
UPtr< SetupDMCTest > up_dtest_
ProjectData test_project("test", ProjectData::DriverVersion::BATCH)
IndexType get_num_dead_walkers() const
Communicate * Controller
Global Communicator for a process.
int size() const
return the number of tasks
const RuntimeOptions & getRuntimeOptions() const noexcept
OutputManagerClass outputManager(Verbosity::HIGH)
Input representation for DMC driver class runtime parameters.
Wrapping information on parallelism.
void resume()
Resume the summary and log streams.
REQUIRE(std::filesystem::exists(filename))
Compilation units that construct QMCDriverInput need visibility to the actual input classes types in ...
A service class to override active avaiable threads upon construction.
void setStatus(const std::string &aname, const std::string &h5name, bool append) override
Set the status of the QMCDriver.
std::unique_ptr< T > UPtr
IndexType get_num_living_walkers() const
OHMMS_INDEXTYPE IndexType
define other types
static HamiltonianPool make_hamWithEE(Communicate *comm, ParticleSetPool &particle_pool, WaveFunctionPool &wavefunction_pool)
constexpr int valid_dmc_input_dmc_batch_index
void readXML(xmlNodePtr cur)
Reads qmc section xml node parameters.
bool parseFromString(const std::string_view data)
SetupDMCTest & get_dtest()
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
constexpr std::array< const char *, 3 > valid_dmc_input_sections
utility functions for executors
void process(xmlNodePtr cur) override
DMCBatched driver will eventually ignore cur.
avoids many repeated xml heredoc sections
Input representation for Driver base class runtime parameters.
void readXML(xmlNodePtr xml_input)