Struct ECPBasis¶
Defined in File ecp.hpp
Struct Documentation¶
-
struct ECPBasis¶
A lightweight container for a basis set of ECP objects.
Public Functions
-
void addECP(const ECP &U, const int atom)¶
Adds an ECP to basis.
- Parameters
U – - the ECP to be added
atom – - the index of that atom on which U is located
-
int getECPCore(const int q) const¶
- Parameters
q – - an atomic number
- Returns
the number of electrons in core of ECP for the atom with atomic number q, if defined, otherwise zero
-
inline int getAtom(int i) const¶
-
inline int getMaxL() const¶
- Returns
the maximum angular momentum GaussianECP in the entire ECP basis
-
inline int getN() const¶
- Returns
the number of ECPs in basis
-
void addECP_from_file(const int q, const std::array<double, 3> &coords, const std::string &filename)¶
Creates and adds an ECP object to the basis by reading from the ECP library
- Parameters
q – - the atomic number of the atom
coords – - the [x, y, z] coordinates (in bohr) of the ECP
filename – - path to the XML file containing the basis specification
-
void addECP(const ECP &U, const int atom)¶