![]() |
QMCPACK
|
Inheritance diagram for GamesAsciiParser:
Collaboration diagram for GamesAsciiParser:Public Member Functions | |
| GamesAsciiParser () | |
| GamesAsciiParser (int argc, char **argv) | |
| void | parse (const std::string &fname) override |
| void | getGeometry (std::istream &is) |
| void | getGaussianCenters (std::istream &is) |
| void | getMO (std::istream &is) |
| void | getMO_single_set (std::istream &is, Matrix< double > &CartMat, std::vector< value_type > &EigVal_alpha) |
| void | getCI (std::istream &is) |
| void | getORMAS (std::istream &is) |
| void | getCSF (std::istream &is) |
| double | getCSFSign (std::vector< int > &) |
Public Member Functions inherited from QMCGaussianParserBase | |
| 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) |
Public Member Functions inherited from OhmmsAsciiParser | |
| 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) |
Public Attributes | |
| std::streampos | pivot_begin |
| std::vector< std::string > | tags |
| bool | usingECP |
| std::string | MOtype |
| int | readtype |
| int | NFZC |
| int | NEXT |
| int | NTOT |
| int | NAC |
Public Attributes inherited from QMCGaussianParserBase | |
| 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 |
Public Attributes inherited from OhmmsAsciiParser | |
| char | dbuffer [bufferSize] |
| std::vector< std::string > | currentWords |
Additional Inherited Members | |
Public Types inherited from QMCGaussianParserBase | |
| using | value_type = double |
| using | SingleParticlePos = ParticleSet::SingleParticlePos |
Static Public Member Functions inherited from QMCGaussianParserBase | |
| static void | init () |
Static Public Attributes inherited from QMCGaussianParserBase | |
| 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 Public Attributes inherited from OhmmsAsciiParser | |
| static const int | bufferSize = 200 |
Definition at line 27 of file GamesAsciiParser.h.
| GamesAsciiParser | ( | ) |
Definition at line 27 of file GamesAsciiParser.cpp.
References QMCGaussianParserBase::angular_type, QMCGaussianParserBase::basisName, QMCGaussianParserBase::BohrUnit, QMCGaussianParserBase::ECP, QMCGaussianParserBase::FixValence, MOtype, NFZC, QMCGaussianParserBase::Normalized, readtype, and usingECP.
| GamesAsciiParser | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 41 of file GamesAsciiParser.cpp.
References QMCGaussianParserBase::angular_type, QMCGaussianParserBase::basisName, QMCGaussianParserBase::BohrUnit, QMCGaussianParserBase::ECP, QMCGaussianParserBase::FixValence, MOtype, NFZC, QMCGaussianParserBase::Normalized, readtype, QMCGaussianParserBase::SpinRestricted, and usingECP.
| void getCI | ( | std::istream & | is | ) |
Definition at line 1377 of file GamesAsciiParser.cpp.
References QMCGaussianParserBase::ci_nea, QMCGaussianParserBase::ci_neb, QMCGaussianParserBase::ci_nstates, QMCGaussianParserBase::ci_size, QMCGaussianParserBase::CIalpha, QMCGaussianParserBase::CIbeta, QMCGaussianParserBase::CIcoeff, OhmmsAsciiParser::currentWords, getwords(), QMCGaussianParserBase::NumberOfBeta, QMCGaussianParserBase::NumberOfEls, pivot_begin, QMCGaussianParserBase::SpinMultiplicity, and QMCGaussianParserBase::target_state.
Referenced by parse().
| void getCSF | ( | std::istream & | is | ) |
Definition at line 1002 of file GamesAsciiParser.cpp.
References qmcplusplus::abs(), QMCGaussianParserBase::ci_nca, QMCGaussianParserBase::ci_ncb, QMCGaussianParserBase::ci_nea, QMCGaussianParserBase::ci_neb, QMCGaussianParserBase::ci_nstates, QMCGaussianParserBase::ci_size, QMCGaussianParserBase::ci_threshold, QMCGaussianParserBase::coeff2csf, QMCGaussianParserBase::CSFalpha, QMCGaussianParserBase::CSFbeta, QMCGaussianParserBase::CSFexpansion, QMCGaussianParserBase::CSFocc, OhmmsAsciiParser::currentWords, getCSFSign(), getwords(), OhmmsAsciiParser::lookFor(), NFZC, NTOT, pivot_begin, QMCGaussianParserBase::target_state, and QMCGaussianParserBase::usingCSF.
Referenced by parse().
| double getCSFSign | ( | std::vector< int > & | occ | ) |
Definition at line 1567 of file GamesAsciiParser.cpp.
References qmcplusplus::n.
Referenced by getCSF().
| void getGaussianCenters | ( | std::istream & | is | ) |
Definition at line 468 of file GamesAsciiParser.cpp.
References OhmmsAsciiParser::currentWords, QMCGaussianParserBase::debug, QMCGaussianParserBase::gBound, QMCGaussianParserBase::gC0, QMCGaussianParserBase::gC1, getwords(), QMCGaussianParserBase::gExp, QMCGaussianParserBase::gNumber, QMCGaussianParserBase::gShell, QMCGaussianParserBase::NumberOfAtoms, pivot_begin, and tags.
Referenced by parse().
| void getGeometry | ( | std::istream & | is | ) |
Definition at line 296 of file GamesAsciiParser.cpp.
References QMCGaussianParserBase::AtomicNumberIndex, OhmmsAsciiParser::currentWords, BLAS::done, QMCGaussianParserBase::ECP, ParticleSet::getSpeciesSet(), getwords(), ParticleSet::GroupID, QMCGaussianParserBase::GroupName, QMCGaussianParserBase::IonChargeIndex, QMCGaussianParserBase::IonName, QMCGaussianParserBase::IonSystem, QMCGaussianParserBase::NumberOfAtoms, pivot_begin, ParticleSet::R, tags, and usingECP.
Referenced by parse().
| void getMO | ( | std::istream & | is | ) |
Definition at line 732 of file GamesAsciiParser.cpp.
References OhmmsAsciiParser::currentWords, QMCGaussianParserBase::EigVal_alpha, QMCGaussianParserBase::EigVal_beta, QMCGaussianParserBase::EigVec, getMO_single_set(), getwords(), QMCGaussianParserBase::numMO, readtype, OhmmsAsciiParser::search(), QMCGaussianParserBase::SizeOfBasisSet, and QMCGaussianParserBase::SpinRestricted.
Referenced by parse().
| void getMO_single_set | ( | std::istream & | is, |
| Matrix< double > & | CartMat, | ||
| std::vector< value_type > & | EigVal_alpha | ||
| ) |
Definition at line 796 of file GamesAsciiParser.cpp.
References OhmmsAsciiParser::currentWords, getwords(), getwordsWithMergedNumbers(), QMCGaussianParserBase::numMO, readtype, and QMCGaussianParserBase::SizeOfBasisSet.
Referenced by getMO().
| void getORMAS | ( | std::istream & | is | ) |
Definition at line 1456 of file GamesAsciiParser.cpp.
References qmcplusplus::abs(), QMCGaussianParserBase::ci_nca, QMCGaussianParserBase::ci_ncb, QMCGaussianParserBase::ci_nea, QMCGaussianParserBase::ci_neb, QMCGaussianParserBase::ci_nstates, QMCGaussianParserBase::ci_size, QMCGaussianParserBase::ci_threshold, QMCGaussianParserBase::CIalpha, QMCGaussianParserBase::CIbeta, QMCGaussianParserBase::CIcoeff, OhmmsAsciiParser::currentWords, getwords(), OhmmsAsciiParser::lookFor(), QMCGaussianParserBase::NumberOfBeta, QMCGaussianParserBase::NumberOfEls, parsewords(), pivot_begin, and QMCGaussianParserBase::SpinMultiplicity.
Referenced by parse().
|
overridevirtual |
Implements QMCGaussianParserBase.
Definition at line 56 of file GamesAsciiParser.cpp.
References ParticleSet::create(), OhmmsAsciiParser::currentWords, QMCGaussianParserBase::ECP, getCI(), getCSF(), getGaussianCenters(), getGeometry(), getMO(), getORMAS(), QMCGaussianParserBase::GroupName, QMCGaussianParserBase::IonSystem, OhmmsAsciiParser::lookFor(), MOtype, QMCGaussianParserBase::multideterminant, NAC, NEXT, NFZC, NTOT, QMCGaussianParserBase::NumberOfAlpha, QMCGaussianParserBase::NumberOfAtoms, QMCGaussianParserBase::NumberOfBeta, QMCGaussianParserBase::NumberOfEls, QMCGaussianParserBase::numMO, QMCGaussianParserBase::numMO2print, QMCGaussianParserBase::outputFile, parsewords(), pivot_begin, QMCGaussianParserBase::readGuess, QMCGaussianParserBase::readNO, readtype, OhmmsAsciiParser::search(), QMCGaussianParserBase::SizeOfBasisSet, QMCGaussianParserBase::SpinMultiplicity, QMCGaussianParserBase::SpinRestricted, and usingECP.
| std::string MOtype |
Definition at line 37 of file GamesAsciiParser.h.
Referenced by GamesAsciiParser(), and parse().
| int NAC |
Definition at line 40 of file GamesAsciiParser.h.
Referenced by parse().
| int NEXT |
Definition at line 40 of file GamesAsciiParser.h.
Referenced by parse().
| int NFZC |
Definition at line 40 of file GamesAsciiParser.h.
Referenced by GamesAsciiParser(), getCSF(), and parse().
| int NTOT |
Definition at line 40 of file GamesAsciiParser.h.
| std::streampos pivot_begin |
Definition at line 34 of file GamesAsciiParser.h.
Referenced by getCI(), getCSF(), getGaussianCenters(), getGeometry(), getORMAS(), and parse().
| int readtype |
Definition at line 39 of file GamesAsciiParser.h.
Referenced by GamesAsciiParser(), getMO(), getMO_single_set(), and parse().
| std::vector<std::string> tags |
Definition at line 35 of file GamesAsciiParser.h.
Referenced by getGaussianCenters(), and getGeometry().
| bool usingECP |
Definition at line 36 of file GamesAsciiParser.h.
Referenced by GamesAsciiParser(), getGeometry(), and parse().