![]() |
QMCPACK
|
atomic basisset builder More...
Inheritance diagram for AOBasisBuilder< COT >:
Collaboration diagram for AOBasisBuilder< COT >:Public Types | |
| enum | { DONOT_EXPAND = 0, GAUSSIAN_EXPAND = 1, NATURAL_EXPAND, CARTESIAN_EXPAND, MOD_NATURAL_EXPAND, DIRAC_CARTESIAN_EXPAND } |
Public Types inherited from MPIObjectBase | |
| using | mpi_comm_type = Communicate::mpi_comm_type |
Public Member Functions | |
| AOBasisBuilder (const std::string &eName, Communicate *comm) | |
| bool | put (xmlNodePtr cur) |
| bool | putH5 (hdf_archive &hin) |
| SPOSet * | createSPOSetFromXML (xmlNodePtr cur) |
| std::unique_ptr< COT > | createAOSet (xmlNodePtr cur) |
| std::unique_ptr< COT > | createAOSetH5 (hdf_archive &hin) |
| int | expandYlm (COT *aos, std::vector< int > &all_nl, int expandlm=DONOT_EXPAND) |
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) |
Private Attributes | |
| bool | addsignforM |
| int | expandlm |
| std::string | Morder |
| std::string | sph |
| std::string | basisType |
| std::string | elementType |
| std::string | Normalized |
| std::map< std::string, int > | RnlID |
| map for the radial orbitals More... | |
| std::map< std::string, int > | nlms_id |
| map for (n,l,m,s) to its quantum number index More... | |
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... | |
atomic basisset builder
| COT,CenteredOrbitalType | = SoaAtomicBasisSet<RF,SH> |
Reimplement AtomiSPOSetBuilder.h
Definition at line 33 of file AOBasisBuilder.h.
| anonymous enum |
| Enumerator | |
|---|---|
| DONOT_EXPAND | |
| GAUSSIAN_EXPAND | |
| NATURAL_EXPAND | |
| CARTESIAN_EXPAND | |
| MOD_NATURAL_EXPAND | |
| DIRAC_CARTESIAN_EXPAND | |
Definition at line 36 of file AOBasisBuilder.h.
| AOBasisBuilder | ( | const std::string & | eName, |
| Communicate * | comm | ||
| ) |
Definition at line 30 of file AOBasisBuilder.cpp.
References AOBasisBuilder< COT >::nlms_id, qmcplusplus::q_l, qmcplusplus::q_m, qmcplusplus::q_n, and qmcplusplus::q_s.
| std::unique_ptr< COT > createAOSet | ( | xmlNodePtr | cur | ) |
Definition at line 165 of file AOBasisBuilder.cpp.
References RadialOrbitalSetBuilder< COT >::addGrid(), RadialOrbitalSetBuilder< COT >::addRadialOrbital(), qmcplusplus::app_log(), RadialOrbitalSetBuilder< COT >::finalize(), getXMLAttributeValue(), RadialOrbitalSetBuilder< COT >::Normalized, and TinyVector< T, D >::size().
Referenced by LCAOrbitalBuilder::createBasisSet().
| std::unique_ptr< COT > createAOSetH5 | ( | hdf_archive & | hin | ) |
Definition at line 295 of file AOBasisBuilder.cpp.
References RadialOrbitalSetBuilder< COT >::addGridH5(), RadialOrbitalSetBuilder< COT >::addRadialOrbitalH5(), qmcplusplus::app_log(), ReportEngine::error(), RadialOrbitalSetBuilder< COT >::finalize(), RadialOrbitalSetBuilder< COT >::Normalized, hdf_archive::pop(), hdf_archive::push(), hdf_archive::read(), hdf_archive::readEntry(), and TinyVector< T, D >::size().
Referenced by LCAOrbitalBuilder::createBasisSetH5().
|
inline |
Definition at line 67 of file AOBasisBuilder.h.
| int expandYlm | ( | COT * | aos, |
| std::vector< int > & | all_nl, | ||
| int | expandlm = DONOT_EXPAND |
||
| ) |
Definition at line 420 of file AOBasisBuilder.cpp.
References qmcplusplus::app_log(), qmcplusplus::Units::distance::m, qmcplusplus::q_l, and qmcplusplus::q_m.
| bool put | ( | xmlNodePtr | cur | ) |
Definition at line 49 of file AOBasisBuilder.cpp.
References OhmmsAttributeSet::add(), ReportEngine::echo(), and OhmmsAttributeSet::put().
Referenced by LCAOrbitalBuilder::createBasisSet().
| bool putH5 | ( | hdf_archive & | hin | ) |
Definition at line 102 of file AOBasisBuilder.cpp.
References qmcplusplus::app_log(), and hdf_archive::read().
Referenced by LCAOrbitalBuilder::createBasisSetH5().
|
private |
Definition at line 47 of file AOBasisBuilder.h.
|
private |
Definition at line 51 of file AOBasisBuilder.h.
|
private |
Definition at line 52 of file AOBasisBuilder.h.
|
private |
Definition at line 48 of file AOBasisBuilder.h.
|
private |
Definition at line 49 of file AOBasisBuilder.h.
|
private |
map for (n,l,m,s) to its quantum number index
Definition at line 59 of file AOBasisBuilder.h.
Referenced by AOBasisBuilder< COT >::AOBasisBuilder().
|
private |
Definition at line 53 of file AOBasisBuilder.h.
|
private |
map for the radial orbitals
Definition at line 56 of file AOBasisBuilder.h.
|
private |
Definition at line 50 of file AOBasisBuilder.h.