QMCPACK
VMCBatchedTest Class Reference
+ Collaboration diagram for VMCBatchedTest:

Public Member Functions

 VMCBatchedTest (const ProjectData &project_data)
 
void testCalcDefaultLocalWalkers ()
 

Private Attributes

Communicatecomm_
 
const ProjectDataproject_data_
 

Detailed Description

Definition at line 30 of file test_VMCBatched.cpp.

Constructor & Destructor Documentation

◆ VMCBatchedTest()

VMCBatchedTest ( const ProjectData project_data)
inline

Definition at line 33 of file test_VMCBatched.cpp.

References VMCBatchedTest::comm_, and OHMMS::Controller.

33  : project_data_(project_data)
34  {
35  Concurrency::OverrideMaxCapacity<> override(8);
37  }
Communicate * Controller
Global Communicator for a process.
Definition: Communicate.cpp:35

Member Function Documentation

◆ testCalcDefaultLocalWalkers()

void testCalcDefaultLocalWalkers ( )
inline

Definition at line 39 of file test_VMCBatched.cpp.

References VMCBatchedTest::comm_, qmcplusplus::doc, Libxml2Document::getRoot(), ProjectData::getRuntimeOptions(), qmcplusplus::hamiltonian_pool, MinimalWaveFunctionPool::make_diamondC_1x1x1(), MinimalParticlePool::make_diamondC_1x1x1(), MinimalHamiltonianPool::make_hamWithEE(), qmcplusplus::node, Libxml2Document::parseFromString(), qmcplusplus::particle_pool, VMCBatchedTest::project_data_, QMCDriverInput::readXML(), qmcplusplus::testing::valid_vmc_input_sections, qmcplusplus::testing::valid_vmc_input_vmc_batch_index, and qmcplusplus::wavefunction_pool.

Referenced by qmcplusplus::TEST_CASE().

40  {
41  using namespace testing;
42  Concurrency::OverrideMaxCapacity<> override(8);
43 
46  xmlNodePtr node = doc.getRoot();
47  QMCDriverInput qmcdriver_input;
48  qmcdriver_input.readXML(node);
49 
51  auto wavefunction_pool =
54  }
class that handles xmlDoc
Definition: Libxml2Doc.h:76
if(!okay) throw std xmlNodePtr node
static ParticleSetPool make_diamondC_1x1x1(Communicate *c)
static WaveFunctionPool make_diamondC_1x1x1(const RuntimeOptions &runtime_options, Communicate *comm, ParticleSetPool &particle_pool)
xmlNodePtr getRoot()
Definition: Libxml2Doc.h:88
constexpr int valid_vmc_input_vmc_batch_index
const RuntimeOptions & getRuntimeOptions() const noexcept
constexpr std::array< const char *, 4 > valid_vmc_input_sections
static HamiltonianPool make_hamWithEE(Communicate *comm, ParticleSetPool &particle_pool, WaveFunctionPool &wavefunction_pool)
bool parseFromString(const std::string_view data)
Definition: Libxml2Doc.cpp:204

Member Data Documentation

◆ comm_

◆ project_data_

const ProjectData& project_data_
private

Definition at line 58 of file test_VMCBatched.cpp.

Referenced by VMCBatchedTest::testCalcDefaultLocalWalkers().


The documentation for this class was generated from the following file: