![]() |
QMCPACK
|
class to handle various name conventions for hdf5 file More...
Inheritance diagram for PWParameterSet:
Collaboration diagram for PWParameterSet:Public Member Functions | |
| PWParameterSet (Communicate *comm) | |
| bool | put (xmlNodePtr cur) |
| void | checkVersion (hdf_archive &h) |
| double | getEcut (double ecut) |
| bool | getEigVectorType (hid_t h) |
| get the dimensions of the eigenvectors More... | |
| bool | hasComplexData (hdf_archive &h) |
| std::string | getTwistAngleName () |
| std::string | getTwistName () |
| std::string | getTwistName (int i) |
| std::string | getBandName (int ib, int ispin) |
| std::string | getBandName (int ib) |
| std::string | getSpinName (int ispin) |
| std::string | getEigVectorName (const std::string &hg, int ib, int ispin) |
| std::string | getEigVectorName (int ib, int ispin) |
| std::string | getCenterName (const std::string &hg, int ib) |
| std::string | getOriginName (const std::string &hg, int ib) |
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 | hasSpin |
| true if spin channel exists More... | |
| TinyVector< int, 2 > | version |
| version More... | |
| int | twistIndex |
| index of the twist angle More... | |
| int | numBands |
| number of input bands More... | |
| double | Ecut |
| energy cutoff for QMC wavefunction More... | |
| double | Rcut |
| cutoff radius for truncated orbitals More... | |
| double | BufferRadius |
| radius of buffer layer for truncated orbitals More... | |
| TinyVector< int, OHMMS_DIM > | BoxDup |
| cell multiplications More... | |
| std::string | paramTag |
| tag for the parameters More... | |
| std::string | basisTag |
| tag for the basis More... | |
| std::string | pwTag |
| tag for the planewaves More... | |
| std::string | pwMultTag |
| tag for the multipliers of the planewaves More... | |
| std::string | eigTag |
| tag for eigentstates More... | |
| std::string | twistTag |
| tag for twist angles More... | |
| std::string | bandTag |
| tag for the band More... | |
| std::string | spinTag |
| tag for the spin More... | |
| std::string | eigvecTag |
| tag for eigvector More... | |
| ParameterSet | m_param |
| xml processor More... | |
Additional Inherited Members | |
Public Types inherited from MPIObjectBase | |
| using | mpi_comm_type = Communicate::mpi_comm_type |
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... | |
class to handle various name conventions for hdf5 file
Definition at line 30 of file PWParameterSet.h.
| PWParameterSet | ( | Communicate * | comm | ) |
Definition at line 25 of file PWParameterSet.cpp.
References ParameterSet::add(), PWParameterSet::bandTag, PWParameterSet::basisTag, PWParameterSet::BoxDup, PWParameterSet::BufferRadius, PWParameterSet::eigTag, PWParameterSet::eigvecTag, PWParameterSet::m_param, PWParameterSet::paramTag, PWParameterSet::pwMultTag, PWParameterSet::pwTag, PWParameterSet::Rcut, OhmmsElementBase::setName(), PWParameterSet::spinTag, PWParameterSet::twistIndex, and PWParameterSet::twistTag.
| void checkVersion | ( | hdf_archive & | h | ) |
Definition at line 183 of file PWParameterSet.cpp.
References APP_ABORT, qmcplusplus::app_log(), PWParameterSet::bandTag, PWParameterSet::basisTag, Communicate::bcast(), PWParameterSet::eigTag, hdf_archive::getFileID(), PWParameterSet::hasSpin, MPIObjectBase::is_manager(), MPIObjectBase::myComm, PWParameterSet::paramTag, PWParameterSet::pwMultTag, PWParameterSet::pwTag, hdf_archive::read(), PWParameterSet::twistTag, and PWParameterSet::version.
| std::string getBandName | ( | int | ib, |
| int | ispin | ||
| ) |
Definition at line 121 of file PWParameterSet.cpp.
| std::string getBandName | ( | int | ib | ) |
Definition at line 169 of file PWParameterSet.cpp.
References PWParameterSet::bandTag.
| std::string getCenterName | ( | const std::string & | hg, |
| int | ib | ||
| ) |
Definition at line 142 of file PWParameterSet.cpp.
References PWParameterSet::bandTag.
| double getEcut | ( | double | ecut | ) |
Definition at line 60 of file PWParameterSet.cpp.
References PWParameterSet::Ecut.
| std::string getEigVectorName | ( | const std::string & | hg, |
| int | ib, | ||
| int | ispin | ||
| ) |
Definition at line 129 of file PWParameterSet.cpp.
References PWParameterSet::bandTag, PWParameterSet::hasSpin, and PWParameterSet::spinTag.
| std::string getEigVectorName | ( | int | ib, |
| int | ispin | ||
| ) |
Definition at line 156 of file PWParameterSet.cpp.
References PWParameterSet::bandTag, PWParameterSet::eigTag, PWParameterSet::hasSpin, PWParameterSet::spinTag, PWParameterSet::twistIndex, and PWParameterSet::twistTag.
| bool getEigVectorType | ( | hid_t | h | ) |
get the dimensions of the eigenvectors
| h | fileid |
Definition at line 67 of file PWParameterSet.cpp.
References PWParameterSet::bandTag, Communicate::bcast(), PWParameterSet::eigTag, PWParameterSet::hasSpin, MPIObjectBase::is_manager(), MPIObjectBase::myComm, MPIObjectBase::rank(), PWParameterSet::spinTag, PWParameterSet::twistIndex, and PWParameterSet::twistTag.
| std::string getOriginName | ( | const std::string & | hg, |
| int | ib | ||
| ) |
Definition at line 149 of file PWParameterSet.cpp.
References PWParameterSet::bandTag.
| std::string getSpinName | ( | int | ispin | ) |
Definition at line 176 of file PWParameterSet.cpp.
References PWParameterSet::spinTag.
| std::string getTwistAngleName | ( | ) |
Definition at line 105 of file PWParameterSet.cpp.
References PWParameterSet::eigTag, PWParameterSet::twistIndex, and PWParameterSet::twistTag.
| std::string getTwistName | ( | ) |
Definition at line 112 of file PWParameterSet.cpp.
References PWParameterSet::twistIndex.
| std::string getTwistName | ( | int | i | ) |
Definition at line 114 of file PWParameterSet.cpp.
References PWParameterSet::twistTag.
| bool hasComplexData | ( | hdf_archive & | h | ) |
Definition at line 88 of file PWParameterSet.cpp.
References Communicate::bcast(), MPIObjectBase::is_manager(), MPIObjectBase::myComm, PWParameterSet::paramTag, and hdf_archive::read().
|
inline |
Definition at line 71 of file PWParameterSet.h.
References PWParameterSet::m_param, and ParameterSet::put().
| std::string bandTag |
tag for the band
Definition at line 61 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), PWParameterSet::getBandName(), PWParameterSet::getCenterName(), PWParameterSet::getEigVectorName(), PWParameterSet::getEigVectorType(), PWParameterSet::getOriginName(), and PWParameterSet::PWParameterSet().
| std::string basisTag |
tag for the basis
Definition at line 51 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), and PWParameterSet::PWParameterSet().
| TinyVector<int, OHMMS_DIM> BoxDup |
cell multiplications
Definition at line 47 of file PWParameterSet.h.
Referenced by PWParameterSet::PWParameterSet().
| double BufferRadius |
radius of buffer layer for truncated orbitals
Definition at line 45 of file PWParameterSet.h.
Referenced by PWParameterSet::PWParameterSet().
| double Ecut |
energy cutoff for QMC wavefunction
Definition at line 41 of file PWParameterSet.h.
Referenced by PWParameterSet::getEcut().
| std::string eigTag |
tag for eigentstates
Definition at line 57 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), PWParameterSet::getEigVectorName(), PWParameterSet::getEigVectorType(), PWParameterSet::getTwistAngleName(), and PWParameterSet::PWParameterSet().
| std::string eigvecTag |
tag for eigvector
Definition at line 65 of file PWParameterSet.h.
Referenced by PWParameterSet::PWParameterSet().
| bool hasSpin |
true if spin channel exists
Definition at line 33 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), PWParameterSet::getEigVectorName(), and PWParameterSet::getEigVectorType().
| ParameterSet m_param |
xml processor
Definition at line 67 of file PWParameterSet.h.
Referenced by PWParameterSet::put(), and PWParameterSet::PWParameterSet().
| int numBands |
number of input bands
Definition at line 39 of file PWParameterSet.h.
| std::string paramTag |
tag for the parameters
Definition at line 49 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), PWParameterSet::hasComplexData(), and PWParameterSet::PWParameterSet().
| std::string pwMultTag |
tag for the multipliers of the planewaves
Definition at line 55 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), and PWParameterSet::PWParameterSet().
| std::string pwTag |
tag for the planewaves
Definition at line 53 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), and PWParameterSet::PWParameterSet().
| double Rcut |
cutoff radius for truncated orbitals
Definition at line 43 of file PWParameterSet.h.
Referenced by PWParameterSet::PWParameterSet().
| std::string spinTag |
tag for the spin
Definition at line 63 of file PWParameterSet.h.
Referenced by PWParameterSet::getEigVectorName(), PWParameterSet::getEigVectorType(), PWParameterSet::getSpinName(), and PWParameterSet::PWParameterSet().
| int twistIndex |
index of the twist angle
Definition at line 37 of file PWParameterSet.h.
Referenced by PWParameterSet::getEigVectorName(), PWParameterSet::getEigVectorType(), PWParameterSet::getTwistAngleName(), PWParameterSet::getTwistName(), and PWParameterSet::PWParameterSet().
| std::string twistTag |
tag for twist angles
Definition at line 59 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion(), PWParameterSet::getEigVectorName(), PWParameterSet::getEigVectorType(), PWParameterSet::getTwistAngleName(), PWParameterSet::getTwistName(), and PWParameterSet::PWParameterSet().
| TinyVector<int, 2> version |
version
Definition at line 35 of file PWParameterSet.h.
Referenced by PWParameterSet::checkVersion().