![]() |
QMCPACK
|
Builder classes to add WaveFunctionComponent to a TrialWaveFunction. More...
Classes | |
class | AGPDeterminantBuilder |
An abstract class for wave function builders. More... | |
Builder classes to add WaveFunctionComponent to a TrialWaveFunction.
Builder classes to build WaveFunctionComponent.
class qmcplusplus::AGPDeterminantBuilder |
An abstract class for wave function builders.
Definition at line 31 of file AGPDeterminantBuilder.h.
Public Member Functions | |
AGPDeterminantBuilder (Communicate *comm, ParticleSet &els, const PSetMap &pset) | |
std::unique_ptr< WaveFunctionComponent > | buildComponent (xmlNodePtr cur) override |
process a xml node at cur More... | |
![]() | |
WaveFunctionComponentBuilder (Communicate *comm, ParticleSet &p) | |
constructor More... | |
virtual | ~WaveFunctionComponentBuilder ()=default |
![]() | |
MPIObjectBase (Communicate *c) | |
constructor with communicator More... | |
int | rank () const |
return the rank of the communicator More... | |
int | getGroupID () const |
return the group id of the communicator More... | |
Communicate * | getCommunicator () const |
return myComm More... | |
Communicate & | getCommRef () const |
return a TEMPORARY reference to Communicate More... | |
mpi_comm_type | getMPI () const |
return MPI communicator if one wants to use MPI directly More... | |
bool | is_manager () const |
return true if the rank == 0 More... | |
const std::string & | getName () const |
return the name More... | |
void | setName (const std::string &aname) |
Protected Member Functions | |
template<typename BasisBuilderT > | |
bool | createAGP (BasisBuilderT *abuilder, xmlNodePtr cur) |
Protected Attributes | |
const PSetMap & | ptclPool |
reference to a PSetMap More... | |
std::unique_ptr< SPOSetBuilderFactory > | mySPOSetBuilderFactory |
basiset Factory More... | |
std::unique_ptr< AGPDeterminant > | agpDet |
AGPDeterminant. More... | |
std::string | funcOpt |
std::string | transformOpt |
![]() | |
ParticleSet & | targetPtcl |
reference to the particle set on which targetPsi is defined More... | |
xmlNodePtr | myNode |
xmlNode operated by this object More... | |
![]() | |
Communicate * | myComm |
pointer to Communicate More... | |
std::string | ClassName |
class Name More... | |
std::string | myName |
name of the object More... | |
Additional Inherited Members | |
![]() | |
using | RealType = WaveFunctionComponent::RealType |
using | ValueType = WaveFunctionComponent::ValueType |
using | PosType = WaveFunctionComponent::PosType |
using | GradType = WaveFunctionComponent::GradType |
using | PSetMap = std::map< std::string, const std::unique_ptr< ParticleSet > > |
![]() | |
using | mpi_comm_type = Communicate::mpi_comm_type |
![]() | |
static std::string | wfs_tag = "wavefunction" |
reserved tags for the elements associated with the many-body wavefunctions More... | |
static std::string | param_tag = "parameter" |
the element name for a parameter More... | |
static std::string | dtable_tag = "distancetable" |
the element name for a distancetable More... | |
static std::string | jastrow_tag = "jastrow" |
the element name for jatrow More... | |
static std::string | detset_tag = "determinantset" |
the element name for a set of Slater determinants, contains 1..* Slater determinants More... | |
static std::string | sd_tag = "slaterdeterminant" |
the element name for a Slater determinant, contains 1..* determinants More... | |
static std::string | det_tag = "determinant" |
the element name for a determinant, may contain (0..*) orbital or parameter element More... | |
static std::string | rn_tag = "determinant_rn" |
the element name for a released node determinant, may contain (0..*) orbital or parameter element More... | |
static std::string | spo_tag = "psi" |
the element name for single-particle orbital More... | |
static std::string | sposet_tag = "sposet" |
the element name for single-particle orbital set More... | |
static std::string | ionorb_tag = "ionwf" |
the element name for an ion wavefunction More... | |
static std::string | backflow_tag = "backflow" |
the element name for a backflow transformation More... | |
static std::string | multisd_tag = "multideterminant" |
the element name for a multi slater determinant wavefunction More... | |
AGPDeterminantBuilder | ( | Communicate * | comm, |
ParticleSet & | els, | ||
const PSetMap & | pset | ||
) |
Definition at line 25 of file AGPDeterminantBuilder.cpp.
|
overridevirtual |
process a xml node at cur
Implements WaveFunctionComponentBuilder.
Definition at line 95 of file AGPDeterminantBuilder.cpp.
References OhmmsAttributeSet::add(), AGPDeterminantBuilder::agpDet, APP_ABORT, qmcplusplus::app_log(), ParticleSet::first(), AGPDeterminantBuilder::funcOpt, getNodeName(), ParticleSet::groups(), MPIObjectBase::myComm, AGPDeterminantBuilder::mySPOSetBuilderFactory, AGPDeterminantBuilder::ptclPool, OhmmsAttributeSet::put(), BasisSetBase< T >::resize(), WaveFunctionComponentBuilder::targetPtcl, and AGPDeterminantBuilder::transformOpt.
|
protected |
Definition at line 30 of file AGPDeterminantBuilder.cpp.
References AGPDeterminantBuilder::agpDet, qmcplusplus::app_log(), castXMLCharToChar(), ParticleSet::first(), ParticleSet::groups(), and WaveFunctionComponentBuilder::targetPtcl.
|
protected |
Definition at line 45 of file AGPDeterminantBuilder.h.
Referenced by AGPDeterminantBuilder::buildComponent(), and AGPDeterminantBuilder::createAGP().
|
protected |
Definition at line 46 of file AGPDeterminantBuilder.h.
Referenced by AGPDeterminantBuilder::buildComponent().
|
protected |
basiset Factory
Definition at line 43 of file AGPDeterminantBuilder.h.
Referenced by AGPDeterminantBuilder::buildComponent().
|
protected |
reference to a PSetMap
Definition at line 41 of file AGPDeterminantBuilder.h.
Referenced by AGPDeterminantBuilder::buildComponent().
|
protected |
Definition at line 47 of file AGPDeterminantBuilder.h.
Referenced by AGPDeterminantBuilder::buildComponent().