![]() |
QMCPACK
|
Inheritance diagram for ECPotentialBuilder:
Collaboration diagram for ECPotentialBuilder:Public Types | |
| using | RadialPotentialType = LocalECPotential::RadialPotentialType |
| using | GridType = LocalECPotential::GridType |
Public Types inherited from MPIObjectBase | |
| using | mpi_comm_type = Communicate::mpi_comm_type |
Public Types inherited from QMCTraits | |
| enum | { DIM = OHMMS_DIM, DIM_VGL = OHMMS_DIM + 2 } |
| using | QTBase = QMCTypes< OHMMS_PRECISION, DIM > |
| using | QTFull = QMCTypes< OHMMS_PRECISION_FULL, DIM > |
| using | RealType = QTBase::RealType |
| using | ComplexType = QTBase::ComplexType |
| using | ValueType = QTBase::ValueType |
| using | PosType = QTBase::PosType |
| using | GradType = QTBase::GradType |
| using | TensorType = QTBase::TensorType |
| using | IndexType = OHMMS_INDEXTYPE |
| define other types More... | |
| using | FullPrecRealType = QTFull::RealType |
| using | FullPrecValueType = QTFull::ValueType |
| using | PropertySetType = RecordNamedProperty< FullPrecRealType > |
| define PropertyList_t More... | |
| using | PtclGrpIndexes = std::vector< std::pair< int, int > > |
Public Member Functions | |
| ECPotentialBuilder (QMCHamiltonian &h, ParticleSet &ions, ParticleSet &els, TrialWaveFunction &psi, Communicate *c) | |
| constructor More... | |
| ~ECPotentialBuilder () | |
| bool | put (xmlNodePtr cur) |
| void | useSimpleTableFormat () |
| reimplement simple table format used by NonLocalPPotential More... | |
| void | useXmlFormat (xmlNodePtr cur) |
Public Member Functions inherited from MPIObjectBase | |
| 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) |
Public Attributes | |
| bool | hasLocalPot |
| bool | hasNonLocalPot |
| bool | hasSOPot |
| bool | hasL2Pot |
| bool | use_exact_spin |
| QMCHamiltonian & | targetH |
| ParticleSet & | IonConfig |
| ParticleSet & | targetPtcl |
| TrialWaveFunction & | targetPsi |
| std::vector< RealType > | localZeff |
| std::vector< std::unique_ptr< RadialPotentialType > > | localPot |
| std::vector< std::unique_ptr< NonLocalECPComponent > > | nonLocalPot |
| std::vector< std::unique_ptr< SOECPComponent > > | soPot |
| std::vector< std::unique_ptr< L2RadialPotential > > | L2Pot |
Additional Inherited Members | |
Protected Attributes inherited from MPIObjectBase | |
| Communicate * | myComm |
| pointer to Communicate More... | |
| std::string | ClassName |
| class Name More... | |
| std::string | myName |
| name of the object More... | |
Definition at line 28 of file ECPotentialBuilder.h.
| using GridType = LocalECPotential::GridType |
Definition at line 31 of file ECPotentialBuilder.h.
Definition at line 30 of file ECPotentialBuilder.h.
| ECPotentialBuilder | ( | QMCHamiltonian & | h, |
| ParticleSet & | ions, | ||
| ParticleSet & | els, | ||
| TrialWaveFunction & | psi, | ||
| Communicate * | c | ||
| ) |
constructor
| ions | the positions of the ions |
| els | the positions of the electrons |
| psi | trial wavefunction |
Definition at line 33 of file ECPotentialBuilder.cpp.
|
default |
| bool put | ( | xmlNodePtr | cur | ) |
create LocalECPotential
Definition at line 51 of file ECPotentialBuilder.cpp.
References OhmmsAttributeSet::add(), QMCHamiltonian::addOperator(), APP_ABORT, qmcplusplus::app_log(), ParticleSet::getLattice(), ParticleSet::getSpeciesSet(), SpeciesSet::getTotalNum(), ECPotentialBuilder::hasL2Pot, ECPotentialBuilder::hasLocalPot, ECPotentialBuilder::hasNonLocalPot, ECPotentialBuilder::hasSOPot, ECPotentialBuilder::IonConfig, ECPotentialBuilder::L2Pot, ECPotentialBuilder::localPot, ECPotentialBuilder::localZeff, ECPotentialBuilder::nonLocalPot, OhmmsAttributeSet::put(), ECPotentialBuilder::soPot, qmcplusplus::SUPERCELL_OPEN, ECPotentialBuilder::targetH, ECPotentialBuilder::targetPsi, ECPotentialBuilder::targetPtcl, ECPotentialBuilder::use_exact_spin, ECPotentialBuilder::useSimpleTableFormat(), and ECPotentialBuilder::useXmlFormat().
Referenced by HamiltonianFactory::addPseudoPotential().
| void useSimpleTableFormat | ( | ) |
reimplement simple table format used by NonLocalPPotential
Definition at line 330 of file ECPotentialBuilder.cpp.
References qmcplusplus::app_error(), qmcplusplus::app_log(), ERRORMSG, ParticleSet::getSpeciesSet(), ECPotentialBuilder::hasLocalPot, ECPotentialBuilder::hasNonLocalPot, ECPotentialBuilder::IonConfig, ECPotentialBuilder::localPot, ECPotentialBuilder::nonLocalPot, OneDimNumGridFunctor< T >::put(), OneDimNumGridFunctor< T >::rmax(), and OneDimNumGridFunctor< T >::splint().
Referenced by ECPotentialBuilder::put().
| void useXmlFormat | ( | xmlNodePtr | cur | ) |
Definition at line 198 of file ECPotentialBuilder.cpp.
References OhmmsAttributeSet::add(), qmcplusplus::app_error(), qmcplusplus::app_log(), qmcplusplus::app_warning(), ECPComponentBuilder::AtomicNumber, Communicate::barrier_and_abort(), OHMMS::Controller, qmcplusplus::Units::charge::e, SpeciesSet::findSpecies(), ParticleSet::getSpeciesSet(), ECPotentialBuilder::hasL2Pot, ECPotentialBuilder::hasLocalPot, ECPotentialBuilder::hasNonLocalPot, ECPotentialBuilder::hasSOPot, ECPotentialBuilder::IonConfig, ECPotentialBuilder::L2Pot, ECPotentialBuilder::localPot, ECPotentialBuilder::localZeff, MPIObjectBase::myComm, ECPotentialBuilder::nonLocalPot, ECPComponentBuilder::parse(), ECPComponentBuilder::parseCasino(), ECPComponentBuilder::pp_L2, ECPComponentBuilder::pp_loc, ECPComponentBuilder::pp_nonloc, ECPComponentBuilder::pp_so, ECPComponentBuilder::printECPTable(), OhmmsAttributeSet::put(), ECPComponentBuilder::put(), MPIObjectBase::rank(), ECPotentialBuilder::soPot, ECPotentialBuilder::use_exact_spin, and ECPComponentBuilder::Zeff.
Referenced by ECPotentialBuilder::put().
| bool hasL2Pot |
Definition at line 35 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), and ECPotentialBuilder::useXmlFormat().
| bool hasLocalPot |
Definition at line 32 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), ECPotentialBuilder::useSimpleTableFormat(), and ECPotentialBuilder::useXmlFormat().
| bool hasNonLocalPot |
Definition at line 33 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), ECPotentialBuilder::useSimpleTableFormat(), and ECPotentialBuilder::useXmlFormat().
| bool hasSOPot |
Definition at line 34 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), and ECPotentialBuilder::useXmlFormat().
| ParticleSet& IonConfig |
Definition at line 39 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), ECPotentialBuilder::useSimpleTableFormat(), and ECPotentialBuilder::useXmlFormat().
| std::vector<std::unique_ptr<L2RadialPotential> > L2Pot |
Definition at line 47 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), and ECPotentialBuilder::useXmlFormat().
| std::vector<std::unique_ptr<RadialPotentialType> > localPot |
Definition at line 44 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), ECPotentialBuilder::useSimpleTableFormat(), and ECPotentialBuilder::useXmlFormat().
| std::vector<RealType> localZeff |
Definition at line 43 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), and ECPotentialBuilder::useXmlFormat().
| std::vector<std::unique_ptr<NonLocalECPComponent> > nonLocalPot |
Definition at line 45 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), ECPotentialBuilder::useSimpleTableFormat(), and ECPotentialBuilder::useXmlFormat().
| std::vector<std::unique_ptr<SOECPComponent> > soPot |
Definition at line 46 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), and ECPotentialBuilder::useXmlFormat().
| QMCHamiltonian& targetH |
Definition at line 38 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put().
| TrialWaveFunction& targetPsi |
Definition at line 41 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put().
| ParticleSet& targetPtcl |
Definition at line 40 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put().
| bool use_exact_spin |
Definition at line 36 of file ECPotentialBuilder.h.
Referenced by ECPotentialBuilder::put(), and ECPotentialBuilder::useXmlFormat().