20 #ifndef QMCPLUSPLUS_HAMILTONIAN_FACTORY_H 21 #define QMCPLUSPLUS_HAMILTONIAN_FACTORY_H 31 using PSetMap = std::map<std::string, const std::unique_ptr<ParticleSet>>;
32 using PsiPoolType = std::map<std::string, const std::unique_ptr<TrialWaveFunction>>;
42 bool put(xmlNodePtr cur);
63 bool build(xmlNodePtr cur);
Base class for any object which needs to know about a MPI communicator.
helper functions for EinsplineSetBuilder
std::map< std::string, const std::unique_ptr< ParticleSet > > PSetMap
int PBCType
type of the lattice. 0=non-periodic, 1=periodic
QMCHamiltonian * getH() const
get targetH
Collection of Local Energy Operators.
bool build(xmlNodePtr cur)
process xmlNode to populate targetPsi
HamiltonianFactory(const std::string &hName, ParticleSet &qp, const PSetMap &pset, const PsiPoolType &oset, Communicate *c)
constructor
const PsiPoolType & psiPool
reference to the TrialWaveFunction Pool
std::map< std::string, std::string > RenamedProperty
list of the old to new name
Wrapping information on parallelism.
Specialized paritlce class for atomistic simulations.
Factory class to build a many-body wavefunction.
bool put(xmlNodePtr cur)
read from xmlNode
void addPseudoPotential(xmlNodePtr cur)
void addCoulombPotential(xmlNodePtr cur)
std::map< std::string, const std::unique_ptr< TrialWaveFunction > > PsiPoolType
std::unique_ptr< QMCHamiltonian > targetH
many-body wavefunction object
void renameProperty(const std::string &a, const std::string &b)
add a property whose name will be renamed by b
const PSetMap & ptclPool
reference to the PSetMap
std::string psiName
name of the TrialWaveFunction
ParticleSet & targetPtcl
target ParticleSet
void addMPCPotential(xmlNodePtr cur, bool physical=false)
void addForceHam(xmlNodePtr cur)
Declaration of QMCHamiltonian.