OpenCAP
Electronic structure of metastable states
|
Parses the ab initio basis set from a basis set file. More...
#include <BasisSetParser.h>
Public Member Functions | |
BasisSetParser (std::map< std::string, std::string > parameters) | |
std::map< std::string, std::vector< Shell > > | read_basis () |
Public Attributes | |
std::string | cart_bf |
std::string | basis_file |
Parses the ab initio basis set from a basis set file.
The BasisSetParser class is used by the BasisSet class to read in an ab initio basis set. Basis sets augmented with extra sets of diffuse functions are typically used for CAP augmented calculations. We suggest downloading the basis set file from https://www.basissetexchange.org/ in Psi4 format, and then modifying the file to add the additional basis functions. Currently, the class only parses files in the Psi4 format.
BasisSetParser::BasisSetParser | ( | std::map< std::string, std::string > | parameters | ) |
std::map<std::string,std::vector<Shell> > BasisSetParser::read_basis | ( | ) |
Read in basis set from file.
std::string BasisSetParser::basis_file |
String location of basis set file to be read
std::string BasisSetParser::cart_bf |
String corresponding to which basis functions are cartesian/harmonic. For example, the string "spf" means that S,P, and F functions are Cartesian, while all other types are spherical harmonic.