![]() |
QMCPACK
|
Public Member Functions | |
LCAOHDFParser () | |
LCAOHDFParser (int argc, char **argv) | |
void | parse (const std::string &fname) override |
void | getGeometry (const std::string &fname) |
void | getCell (const std::string &fname) |
void | getSuperTwist (const std::string &fname) |
void | getMO (const std::string &fname) |
void | getGaussianCenters (const std::string fname) |
![]() | |
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) |
Public Attributes | |
std::streampos | pivot_begin |
std::vector< std::string > | tags |
std::string | MOtype |
int | readtype |
int | numAO |
int | NFZC |
int | NEXT |
int | NTOT |
int | NAC |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
using | value_type = double |
using | SingleParticlePos = ParticleSet::SingleParticlePos |
![]() | |
static void | init () |
![]() | |
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 24 of file LCAOHDFParser.h.
LCAOHDFParser | ( | ) |
Definition at line 23 of file LCAOHDFParser.cpp.
References QMCGaussianParserBase::angular_type, QMCGaussianParserBase::basisName, QMCGaussianParserBase::BohrUnit, MOtype, NFZC, QMCGaussianParserBase::Normalized, and readtype.
LCAOHDFParser | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 34 of file LCAOHDFParser.cpp.
References QMCGaussianParserBase::angular_type, QMCGaussianParserBase::basisName, QMCGaussianParserBase::BohrUnit, MOtype, NFZC, QMCGaussianParserBase::Normalized, readtype, and QMCGaussianParserBase::SpinRestricted.
void getCell | ( | const std::string & | fname | ) |
Definition at line 187 of file LCAOHDFParser.cpp.
References hdf_archive::close(), hdf_archive::open(), hdf_archive::push(), hdf_archive::read(), QMCGaussianParserBase::X, QMCGaussianParserBase::Y, and QMCGaussianParserBase::Z.
Referenced by parse().
void getGaussianCenters | ( | const std::string | fname | ) |
void getGeometry | ( | const std::string & | fname | ) |
Definition at line 218 of file LCAOHDFParser.cpp.
References QMCGaussianParserBase::AtomicNumberIndex, hdf_archive::close(), ParticleSet::getSpeciesSet(), ParticleSet::GroupID, QMCGaussianParserBase::GroupName, QMCGaussianParserBase::IonChargeIndex, QMCGaussianParserBase::IonName, QMCGaussianParserBase::IonSystem, QMCGaussianParserBase::NumberOfAtoms, hdf_archive::open(), hdf_archive::pop(), hdf_archive::push(), ParticleSet::R, hdf_archive::read(), and tags.
Referenced by parse().
void getMO | ( | const std::string & | fname | ) |
Definition at line 302 of file LCAOHDFParser.cpp.
References Matrix< T, Alloc >::begin(), hdf_archive::close(), copy(), QMCGaussianParserBase::EigVal_alpha, QMCGaussianParserBase::EigVal_beta, QMCGaussianParserBase::EigVec, Matrix< T, Alloc >::end(), qmcplusplus::n, QMCGaussianParserBase::numMO, hdf_archive::open(), hdf_archive::read(), QMCGaussianParserBase::SizeOfBasisSet, and QMCGaussianParserBase::SpinRestricted.
Referenced by parse().
void getSuperTwist | ( | const std::string & | fname | ) |
Definition at line 277 of file LCAOHDFParser.cpp.
References hdf_archive::close(), hdf_archive::open(), hdf_archive::pop(), hdf_archive::push(), hdf_archive::read(), and QMCGaussianParserBase::STwist_Coord.
Referenced by parse().
|
overridevirtual |
Implements QMCGaussianParserBase.
Definition at line 46 of file LCAOHDFParser.cpp.
References qmcplusplus::app_warning(), qmcplusplus::Units::bohr, QMCGaussianParserBase::BohrUnit, QMCGaussianParserBase::ci_nca, QMCGaussianParserBase::ci_ncb, QMCGaussianParserBase::ci_nea, QMCGaussianParserBase::ci_neb, QMCGaussianParserBase::ci_nstates, QMCGaussianParserBase::ci_size, QMCGaussianParserBase::CIalpha, QMCGaussianParserBase::CIbeta, QMCGaussianParserBase::CIcoeff, hdf_archive::close(), QMCGaussianParserBase::CodeName, ParticleSet::create(), QMCGaussianParserBase::debug, QMCGaussianParserBase::ECP, QMCGaussianParserBase::EigVal_alpha, QMCGaussianParserBase::EigVal_beta, getCell(), getGaussianCenters(), getGeometry(), getMO(), getSuperTwist(), QMCGaussianParserBase::GroupName, QMCGaussianParserBase::IonSystem, QMCGaussianParserBase::multideterminant, QMCGaussianParserBase::nbexcitedstates, numAO, QMCGaussianParserBase::NumberOfAlpha, QMCGaussianParserBase::NumberOfAtoms, QMCGaussianParserBase::NumberOfBeta, QMCGaussianParserBase::NumberOfEls, QMCGaussianParserBase::numMO, hdf_archive::open(), QMCGaussianParserBase::outputFile, QMCGaussianParserBase::PBC, hdf_archive::pop(), hdf_archive::push(), hdf_archive::read(), hdf_archive::readEntry(), QMCGaussianParserBase::SizeOfBasisSet, QMCGaussianParserBase::SpinMultiplicity, and QMCGaussianParserBase::SpinRestricted.
std::string MOtype |
Definition at line 33 of file LCAOHDFParser.h.
Referenced by LCAOHDFParser().
int NAC |
Definition at line 35 of file LCAOHDFParser.h.
int NEXT |
Definition at line 35 of file LCAOHDFParser.h.
int NFZC |
Definition at line 35 of file LCAOHDFParser.h.
Referenced by LCAOHDFParser().
int NTOT |
Definition at line 35 of file LCAOHDFParser.h.
int numAO |
Definition at line 34 of file LCAOHDFParser.h.
Referenced by parse().
std::streampos pivot_begin |
Definition at line 31 of file LCAOHDFParser.h.
int readtype |
Definition at line 34 of file LCAOHDFParser.h.
Referenced by LCAOHDFParser().
std::vector<std::string> tags |
Definition at line 32 of file LCAOHDFParser.h.
Referenced by getGeometry().