QMCPACK
SetupPools Class Reference
+ Inheritance diagram for SetupPools:
+ Collaboration diagram for SetupPools:

Public Member Functions

 SetupPools ()
 

Public Attributes

UPtr< ParticleSetPoolparticle_pool
 
UPtr< WaveFunctionPoolwavefunction_pool
 
UPtr< HamiltonianPoolhamiltonian_pool
 
Libxml2Document doc
 
xmlNodePtr node
 
Communicatecomm
 

Detailed Description

Definition at line 28 of file SetupPools.h.

Constructor & Destructor Documentation

◆ SetupPools()

Definition at line 24 of file SetupPools.cpp.

References ProjectData::BATCH, SetupPools::comm, OHMMS::Controller, ProjectData::getRuntimeOptions(), SetupPools::hamiltonian_pool, MinimalWaveFunctionPool::make_diamondC_1x1x1(), MinimalParticlePool::make_diamondC_1x1x1(), MinimalHamiltonianPool::make_hamWithEE(), SetupPools::particle_pool, qmcplusplus::test_project, and SetupPools::wavefunction_pool.

25 {
28 
29  std::cout << "For purposes of multithreaded testing max threads is forced to 8" << '\n';
30  Concurrency::OverrideMaxCapacity<> override(8);
31 
32  particle_pool = std::make_unique<ParticleSetPool>(MinimalParticlePool::make_diamondC_1x1x1(comm));
33  wavefunction_pool = std::make_unique<WaveFunctionPool>(
35  hamiltonian_pool = std::make_unique<HamiltonianPool>(
37 }
UPtr< ParticleSetPool > particle_pool
Definition: SetupPools.h:33
static ParticleSetPool make_diamondC_1x1x1(Communicate *c)
static WaveFunctionPool make_diamondC_1x1x1(const RuntimeOptions &runtime_options, Communicate *comm, ParticleSetPool &particle_pool)
ProjectData test_project("test", ProjectData::DriverVersion::BATCH)
UPtr< HamiltonianPool > hamiltonian_pool
Definition: SetupPools.h:35
Communicate * Controller
Global Communicator for a process.
Definition: Communicate.cpp:35
const RuntimeOptions & getRuntimeOptions() const noexcept
UPtr< WaveFunctionPool > wavefunction_pool
Definition: SetupPools.h:34
static HamiltonianPool make_hamWithEE(Communicate *comm, ParticleSetPool &particle_pool, WaveFunctionPool &wavefunction_pool)

Member Data Documentation

◆ comm

◆ doc

Definition at line 37 of file SetupPools.h.

◆ hamiltonian_pool

◆ node

xmlNodePtr node

Definition at line 38 of file SetupPools.h.

◆ particle_pool

◆ wavefunction_pool


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