![]() |
QMCPACK
|
Build a set of radial orbitals at the origin. More...
Inheritance diagram for RadialOrbitalSetBuilder< COT >:
Collaboration diagram for RadialOrbitalSetBuilder< COT >:Public Types | |
| using | RealType = typename COT::RealType |
| using | RadialOrbitalType = typename COT::RadialOrbital_t |
| using | GridType = typename COT::GridType |
Public Types inherited from MPIObjectBase | |
| using | mpi_comm_type = Communicate::mpi_comm_type |
Public Member Functions | |
| RadialOrbitalSetBuilder (Communicate *comm, COT &aos, int radial_grid_size=1001) | |
| constructor More... | |
| bool | addGrid (xmlNodePtr cur, const std::string &rad_type) |
| add a grid More... | |
| bool | addGridH5 (hdf_archive &hin) |
| bool | addRadialOrbital (xmlNodePtr cur, const std::string &m_infunctype, const QuantumNumberType &nlms) |
| add a radial functor More... | |
| bool | addRadialOrbitalH5 (hdf_archive &hin, const std::string &radtype, const QuantumNumberType &nlms) |
| void | finalize () |
| This is when the radial orbitals are actually created. More... | |
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 | Normalized |
| true, if the RadialOrbitalType is normalized More... | |
| COT & | m_orbitals |
| the atomic orbitals More... | |
| std::unique_ptr< GridType > | input_grid |
| input grid in case transform is needed More... | |
| QuantumNumberType | m_nlms |
| the quantum number of this node More... | |
Private Member Functions | |
| void | addGaussian (xmlNodePtr cur) |
| void | addGaussianH5 (hdf_archive &hin) |
| void | addSlater (xmlNodePtr cur) |
| template<typename Fin , typename T > | |
| T | find_cutoff (Fin &in, T rmax) |
| compute the safe cutoff radius of a radial functor More... | |
Private Attributes | |
| hdf_archive | hin |
| hdf file only for numerical basis h5 file generated by SQD More... | |
| int | radial_grid_size_ |
| Number of grid points. More... | |
| RealType | m_rcut |
| maximum cutoff for an orbital, could come from XML always set to -1 by constructor More... | |
| RealType | m_rcut_safe |
| safe common cutoff radius More... | |
| std::vector< std::unique_ptr< TransformerBase< RealType > > > | radTemp |
| radial functors to be finalized More... | |
| std::tuple< int, double, double > | grid_param_in |
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... | |
Build a set of radial orbitals at the origin.
For a center,
Definition at line 187 of file MultiFunctorAdapter.h.
| using GridType = typename COT::GridType |
Definition at line 95 of file RadialOrbitalSetBuilder.h.
| using RadialOrbitalType = typename COT::RadialOrbital_t |
Definition at line 94 of file RadialOrbitalSetBuilder.h.
| using RealType = typename COT::RealType |
Definition at line 93 of file RadialOrbitalSetBuilder.h.
| RadialOrbitalSetBuilder | ( | Communicate * | comm, |
| COT & | aos, | ||
| int | radial_grid_size = 1001 |
||
| ) |
constructor
Definition at line 155 of file RadialOrbitalSetBuilder.h.
|
private |
Definition at line 284 of file RadialOrbitalSetBuilder.h.
References GaussianCombo< T >::putBasisGroup().
|
private |
Definition at line 299 of file RadialOrbitalSetBuilder.h.
References GaussianCombo< T >::putBasisGroupH5().
| bool addGrid | ( | xmlNodePtr | cur, |
| const std::string & | rad_type | ||
| ) |
add a grid
Definition at line 160 of file RadialOrbitalSetBuilder.h.
References OneDimGridFactory::createGrid().
Referenced by AOBasisBuilder< COT >::createAOSet().
| bool addGridH5 | ( | hdf_archive & | hin | ) |
Definition at line 178 of file RadialOrbitalSetBuilder.h.
References qmcplusplus::app_log(), and hdf_archive::read().
Referenced by AOBasisBuilder< COT >::createAOSetH5().
| bool addRadialOrbital | ( | xmlNodePtr | cur, |
| const std::string & | m_infunctype, | ||
| const QuantumNumberType & | nlms | ||
| ) |
add a radial functor
Add a new Slater Type Orbital with quantum numbers
.
| cur | xml element |
| nlms | quantum number |
| cur | the current xmlNode to be processed |
| nlms | a vector containing the quantum numbers |
Definition at line 237 of file RadialOrbitalSetBuilder.h.
References OhmmsAttributeSet::add(), and OhmmsAttributeSet::put().
Referenced by AOBasisBuilder< COT >::createAOSet().
| bool addRadialOrbitalH5 | ( | hdf_archive & | hin, |
| const std::string & | radtype, | ||
| const QuantumNumberType & | nlms | ||
| ) |
Definition at line 259 of file RadialOrbitalSetBuilder.h.
References hdf_archive::read().
Referenced by AOBasisBuilder< COT >::createAOSetH5().
|
private |
Definition at line 352 of file RadialOrbitalSetBuilder.h.
References SlaterCombo< T >::putBasisGroup().
| void finalize | ( | ) |
This is when the radial orbitals are actually created.
Definition at line 328 of file RadialOrbitalSetBuilder.h.
References qmcplusplus::app_log(), qmcplusplus::convert(), and qmcplusplus::Units::charge::e.
Referenced by AOBasisBuilder< COT >::createAOSet(), and AOBasisBuilder< COT >::createAOSetH5().
|
private |
compute the safe cutoff radius of a radial functor
temporary function to compute the cutoff without constructing NGFunctor
Definition at line 371 of file RadialOrbitalSetBuilder.h.
References qmcplusplus::abs(), qmcplusplus::Units::charge::e, and LogGridLight< T >::set().
|
private |
Definition at line 151 of file RadialOrbitalSetBuilder.h.
|
private |
hdf file only for numerical basis h5 file generated by SQD
Definition at line 136 of file RadialOrbitalSetBuilder.h.
Referenced by RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::addRadialOrbitalH5().
| std::unique_ptr<GridType> input_grid |
input grid in case transform is needed
Definition at line 103 of file RadialOrbitalSetBuilder.h.
| QuantumNumberType m_nlms |
the quantum number of this node
Definition at line 105 of file RadialOrbitalSetBuilder.h.
| COT& m_orbitals |
the atomic orbitals
Definition at line 101 of file RadialOrbitalSetBuilder.h.
Referenced by RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::addRadialOrbital(), RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::addRadialOrbitalH5(), and RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::finalize().
|
private |
maximum cutoff for an orbital, could come from XML always set to -1 by constructor
Definition at line 142 of file RadialOrbitalSetBuilder.h.
|
private |
safe common cutoff radius
Definition at line 145 of file RadialOrbitalSetBuilder.h.
| bool Normalized |
true, if the RadialOrbitalType is normalized
Definition at line 99 of file RadialOrbitalSetBuilder.h.
Referenced by RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::addRadialOrbital(), RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::addRadialOrbitalH5(), AOBasisBuilder< COT >::createAOSet(), AOBasisBuilder< COT >::createAOSetH5(), and RadialOrbitalSetBuilder< SoaAtomicBasisSet< MultiFunctorAdapter< FN >, SH > >::put().
|
private |
Number of grid points.
Definition at line 139 of file RadialOrbitalSetBuilder.h.
|
private |
radial functors to be finalized
Definition at line 149 of file RadialOrbitalSetBuilder.h.