![]() |
QMCPACK
|
Public Member Functions | |
DiracParser (int argc, char **argv) | |
void | parse (const std::string &fname) override |
![]() | |
QMCGaussianParserBase () | |
QMCGaussianParserBase (int argc, char **argv) | |
virtual | ~QMCGaussianParserBase ()=default |
void | setOccupationNumbers () |
void | createGridNode (int argc, char **argv) |
void | createSPOSets (xmlNodePtr, xmlNodePtr) |
void | createSPOSetsH5 (xmlNodePtr, xmlNodePtr) |
void | PrepareSPOSetsFromH5 (xmlNodePtr, xmlNodePtr) |
xmlNodePtr | createElectronSet (const std::string &ion_tag) |
xmlNodePtr | createIonSet () |
xmlNodePtr | createCell () |
xmlNodePtr | createHamiltonian (const std::string &ion_tag, const std::string &psi_tag) |
xmlNodePtr | createBasisSet () |
xmlNodePtr | createBasisSetWithHDF5 () |
xmlNodePtr | createCenter (int iat, int _off) |
void | createCenterH5 (int iat, int _off, int numelem) |
void | createShell (int n, int ig, int off_, xmlNodePtr abasis) |
void | createShellH5 (int n, int ig, int off_, int numelem) |
xmlNodePtr | createDeterminantSet () |
xmlNodePtr | createMultiDeterminantSet () |
xmlNodePtr | createDeterminantSetWithHDF5 () |
xmlNodePtr | createMultiDeterminantSetFromH5 () |
xmlNodePtr | createMultiDeterminantSetCIHDF5 () |
xmlNodePtr | PrepareDeterminantSetFromHDF5 () |
xmlNodePtr | createJ3 () |
xmlNodePtr | createJ2 () |
xmlNodePtr | createJ1 () |
xmlNodePtr | parameter (xmlNodePtr Parent, std::string Mypara, std::string a) |
int | numberOfExcitationsCSF (std::string &) |
virtual void | dumpPBC (const std::string &psi_tag, const std::string &ion_tag) |
virtual void | dump (const std::string &psi_tag, const std::string &ion_tag) |
void | dumpStdInput (const std::string &psi_tag, const std::string &ion_tag) |
void | dumpStdInputProd (const std::string &psi_tag, const std::string &ion_tag) |
![]() | |
void | skiplines (std::istream &is, int n) |
template<class T > | |
void | getValue (std::istream &is, T &aval) |
template<class T1 , class T2 > | |
void | getValue (std::istream &is, T1 &aval, T2 &bval) |
template<class IT > | |
void | getValues (std::istream &is, IT first, IT last) |
int | search (std::istream &is, const std::string &keyword) |
int | search (std::istream &is, const std::string &keyword, std::string &the_line) |
bool | lookFor (std::istream &is, const std::string &keyword) |
bool | lookFor (std::istream &is, const std::string &keyword, std::string &the_line) |
Private Types | |
using | normMapType = std::map< std::string, double > |
Private Member Functions | |
void | dumpHDF5 (const std::string &fname) |
void | getGeometry (std::istream &is) |
void | getGaussianCenters (std::istream &is) |
void | getSpinors (std::istream &is) |
void | getWF (std::istream &is) |
void | getCOSCI (std::istream &is) |
void | getSingleDet (std::istream &is) |
void | parseCOSCIOrbInfo (std::istream &is, const int irrep_idx, OrbType type) |
int | sortAndStoreCOSCIOrbs (OrbType type, const int spinor_component) |
Private Attributes | |
std::streampos | pivot_begin |
int | NumberOfSpecies |
int | version |
std::string | aline |
std::vector< atBasisSet > | basisset |
normMapType | normMap |
std::vector< fermIrrep > | irreps |
std::vector< fermIrrep > | kp_irreps |
std::vector< cosciRep > | cosciReps |
Additional Inherited Members | |
![]() | |
using | value_type = double |
using | SingleParticlePos = ParticleSet::SingleParticlePos |
![]() | |
static void | init () |
![]() | |
bool | multideterminant |
bool | multidetH5 |
bool | BohrUnit |
bool | SpinRestricted |
bool | Periodicity |
bool | UseHDF5 |
bool | PBC |
bool | production |
bool | zeroCI |
bool | orderByExcitation |
bool | addJastrow |
bool | addJastrow3Body |
bool | ECP |
bool | debug |
bool | Structure |
bool | DoCusp |
bool | FixValence |
bool | singledetH5 |
bool | optDetCoeffs |
bool | usingCSF |
bool | isSpinor |
int | IonChargeIndex |
int | ValenceChargeIndex |
int | AtomicNumberIndex |
int | NumberOfAtoms |
int | NumberOfEls |
int | target_state |
int | SpinMultiplicity |
int | NumberOfAlpha |
int | NumberOfBeta |
int | SizeOfBasisSet |
int | numMO |
int | readNO |
int | readGuess |
int | numMO2print |
int | ci_size |
int | ci_nca |
int | ci_ncb |
int | ci_nea |
int | ci_neb |
int | ci_nstates |
int | NbKpts |
int | nbexcitedstates |
double | ci_threshold |
std::vector< double > | STwist_Coord |
std::string | Title |
std::string | basisType |
std::string | basisName |
std::string | Normalized |
std::string | CurrentCenter |
std::string | outputFile |
std::string | angular_type |
std::string | expandYlm |
std::string | h5file |
std::string | multih5file |
std::string | WFS_name |
std::string | CodeName |
const SimulationCell | simulation_cell |
ParticleSet | IonSystem |
std::vector< std::string > | GroupName |
std::vector< int > | gShell |
std::vector< int > | gNumber |
std::vector< int > | gBound |
std::vector< int > | Occ_alpha |
std::vector< int > | Occ_beta |
std::vector< value_type > | Qv |
std::vector< value_type > | gExp |
std::vector< value_type > | gC0 |
std::vector< value_type > | gC1 |
std::vector< value_type > | EigVal_alpha |
std::vector< value_type > | EigVal_beta |
std::vector< value_type > | EigVec |
std::unique_ptr< xmlNode, void(*)(xmlNodePtr)> | gridPtr |
std::vector< std::string > | CIalpha |
std::vector< std::string > | CIbeta |
std::vector< std::string > | CSFocc |
std::vector< std::vector< std::string > > | CSFalpha |
std::vector< std::vector< std::string > > | CSFbeta |
std::vector< std::vector< double > > | CSFexpansion |
std::vector< double > | CIcoeff |
std::vector< double > | X |
std::vector< double > | Y |
std::vector< double > | Z |
std::vector< int > | Image |
std::vector< int > | CIexcitLVL |
std::vector< std::pair< int, double > > | coeff2csf |
![]() | |
char | dbuffer [bufferSize] |
std::vector< std::string > | currentWords |
![]() | |
static std::map< int, std::string > | IonName |
static std::vector< std::string > | gShellType |
static std::vector< int > | gShellID |
static const std::vector< double > | gCoreTable |
![]() | |
static const int | bufferSize = 200 |
Definition at line 71 of file DiracParser.h.
|
private |
Definition at line 73 of file DiracParser.h.
DiracParser | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 68 of file DiracParser.cpp.
References QMCGaussianParserBase::angular_type, QMCGaussianParserBase::BohrUnit, QMCGaussianParserBase::ECP, QMCGaussianParserBase::expandYlm, QMCGaussianParserBase::isSpinor, normMap, QMCGaussianParserBase::PBC, and qmcplusplus::sqrt().
|
private |
|
private |
Definition at line 739 of file DiracParser.cpp.
References ACTIVE, aline, QMCGaussianParserBase::ci_nca, QMCGaussianParserBase::ci_nea, QMCGaussianParserBase::ci_nstates, QMCGaussianParserBase::ci_size, QMCGaussianParserBase::CIalpha, QMCGaussianParserBase::CIbeta, QMCGaussianParserBase::CIcoeff, ciState::coeffs, CORE, cosciReps, OhmmsAsciiParser::currentWords, QMCGaussianParserBase::EigVal_alpha, QMCGaussianParserBase::EigVal_beta, QMCGaussianParserBase::EigVec, ciState::energy, getwords(), irreps, OhmmsAsciiParser::lookFor(), QMCGaussianParserBase::multideterminant, QMCGaussianParserBase::NumberOfEls, ciState::occstrings, parseCOSCIOrbInfo(), parsewords(), pivot_begin, OhmmsAsciiParser::search(), OhmmsAsciiParser::skiplines(), sortAndStoreCOSCIOrbs(), cosciRep::states, QMCGaussianParserBase::target_state, and VIRTUAL.
Referenced by getWF().
|
private |
Definition at line 294 of file DiracParser.cpp.
References aline, basisset, OhmmsAsciiParser::currentWords, QMCGaussianParserBase::gBound, QMCGaussianParserBase::gC0, QMCGaussianParserBase::gC1, ParticleSet::getSpeciesSet(), getwords(), QMCGaussianParserBase::gExp, QMCGaussianParserBase::gNumber, QMCGaussianParserBase::GroupName, QMCGaussianParserBase::gShell, QMCGaussianParserBase::IonSystem, basisGroup::l, basisGroup::n, qmcplusplus::n, QMCGaussianParserBase::NumberOfAtoms, NumberOfSpecies, parsewords(), pivot_begin, basisGroup::radfuncs, OhmmsAsciiParser::search(), qmcplusplus::Units::second, and OhmmsAsciiParser::skiplines().
Referenced by parse().
|
private |
Definition at line 225 of file DiracParser.cpp.
References aline, QMCGaussianParserBase::AtomicNumberIndex, OhmmsAsciiParser::currentWords, QMCGaussianParserBase::ECP, ParticleSet::getSpeciesSet(), getwords(), ParticleSet::GroupID, QMCGaussianParserBase::GroupName, QMCGaussianParserBase::IonChargeIndex, QMCGaussianParserBase::IonName, QMCGaussianParserBase::IonSystem, OhmmsAsciiParser::lookFor(), QMCGaussianParserBase::NumberOfAtoms, NumberOfSpecies, parsewords(), pivot_begin, ParticleSet::R, OhmmsAsciiParser::search(), QMCGaussianParserBase::SizeOfBasisSet, and OhmmsAsciiParser::skiplines().
Referenced by parse().
|
private |
Definition at line 601 of file DiracParser.cpp.
References QMCGaussianParserBase::EigVal_alpha, QMCGaussianParserBase::EigVal_beta, QMCGaussianParserBase::EigVec, irreps, and kp_irreps.
Referenced by getWF().
|
private |
Definition at line 422 of file DiracParser.cpp.
References aline, OhmmsAsciiParser::currentWords, getwords(), irreps, kp_irreps, OhmmsAsciiParser::lookFor(), norm(), normMap, parsewords(), pivot_begin, OhmmsAsciiParser::search(), QMCGaussianParserBase::SizeOfBasisSet, and OhmmsAsciiParser::skiplines().
Referenced by parse().
|
private |
Definition at line 572 of file DiracParser.cpp.
References aline, getCOSCI(), getSingleDet(), OhmmsAsciiParser::lookFor(), and pivot_begin.
Referenced by parse().
|
overridevirtual |
Implements QMCGaussianParserBase.
Definition at line 164 of file DiracParser.cpp.
References aline, ParticleSet::create(), OhmmsAsciiParser::currentWords, getGaussianCenters(), getGeometry(), getSpinors(), getWF(), getwords(), QMCGaussianParserBase::GroupName, QMCGaussianParserBase::IonSystem, OhmmsAsciiParser::lookFor(), QMCGaussianParserBase::NumberOfAlpha, QMCGaussianParserBase::NumberOfAtoms, QMCGaussianParserBase::NumberOfBeta, QMCGaussianParserBase::NumberOfEls, NumberOfSpecies, parsewords(), pivot_begin, OhmmsAsciiParser::search(), OhmmsAsciiParser::skiplines(), and version.
|
private |
Definition at line 644 of file DiracParser.cpp.
References ACTIVE, aline, CORE, OhmmsAsciiParser::currentWords, getwords(), irreps, kp_irreps, OhmmsAsciiParser::lookFor(), parsewords(), pivot_begin, OhmmsAsciiParser::search(), and OhmmsAsciiParser::skiplines().
Referenced by getCOSCI().
|
private |
Definition at line 693 of file DiracParser.cpp.
References QMCGaussianParserBase::EigVal_alpha, QMCGaussianParserBase::EigVec, irreps, and kp_irreps.
Referenced by getCOSCI().
|
private |
Definition at line 90 of file DiracParser.h.
Referenced by getCOSCI(), getGaussianCenters(), getGeometry(), getSpinors(), getWF(), parse(), and parseCOSCIOrbInfo().
|
private |
Definition at line 91 of file DiracParser.h.
Referenced by getGaussianCenters().
|
private |
Definition at line 96 of file DiracParser.h.
Referenced by getCOSCI().
|
private |
Definition at line 94 of file DiracParser.h.
Referenced by getCOSCI(), getSingleDet(), getSpinors(), parseCOSCIOrbInfo(), and sortAndStoreCOSCIOrbs().
|
private |
Definition at line 95 of file DiracParser.h.
Referenced by getSingleDet(), getSpinors(), parseCOSCIOrbInfo(), and sortAndStoreCOSCIOrbs().
|
private |
Definition at line 92 of file DiracParser.h.
Referenced by DiracParser(), and getSpinors().
|
private |
Definition at line 88 of file DiracParser.h.
Referenced by getGaussianCenters(), getGeometry(), and parse().
|
private |
Definition at line 87 of file DiracParser.h.
Referenced by getCOSCI(), getGaussianCenters(), getGeometry(), getSpinors(), getWF(), parse(), and parseCOSCIOrbInfo().
|
private |
Definition at line 89 of file DiracParser.h.
Referenced by parse().