19 #ifndef QMCPLUSPLUS_TRIALWAVEFUNCTION_FACTORY_H 20 #define QMCPLUSPLUS_TRIALWAVEFUNCTION_FACTORY_H 34 using PSetMap = std::map<std::string, const std::unique_ptr<ParticleSet>>;
53 const std::string_view name)
55 return std::make_unique<TrialWaveFunction>(runtime_options, name);
Base class for any object which needs to know about a MPI communicator.
helper functions for EinsplineSetBuilder
ParticleSet & targetPtcl
many-body wavefunction object target ParticleSet
declaration of MPIObjectBase
Wrapping information on parallelism.
const PSetMap & ptclPool
reference to the PSetMap
Specialized paritlce class for atomistic simulations.
std::unique_ptr< TrialWaveFunction > buildTWF(xmlNodePtr cur, const RuntimeOptions &runtime_options)
read from xmlNode
Factory class to build a many-body wavefunction.
~WaveFunctionFactory()
destructor
bool addFermionTerm(TrialWaveFunction &psi, SPOSetBuilderFactory &spo_factory, xmlNodePtr cur)
add Fermion wavefunction term
WaveFunctionFactory(ParticleSet &qp, const PSetMap &pset, Communicate *c)
constructor
static std::unique_ptr< TrialWaveFunction > buildEmptyTWFForTesting(const RuntimeOptions &runtime_options, const std::string_view name)
create an empty TrialWaveFunction for testing use.
Declaration of a TrialWaveFunction.
std::map< std::string, const std::unique_ptr< ParticleSet > > PSetMap
Class to represent a many-body trial wave function.
declaration of the base class for many-body wavefunction.