Takes a density matrix and and an auxiliary basis set and calculates the electron repulsion integrals.
More...
#include <ERIs.h>
|
| static double | CalculateEnergy (const Eigen::MatrixXd &DMAT, const Eigen::MatrixXd &matrix_operator) |
Takes a density matrix and and an auxiliary basis set and calculates the electron repulsion integrals.
Definition at line 35 of file ERIs.h.
◆ AllPairs()
| Index votca::xtp::ERIs::AllPairs |
( |
| ) |
const |
|
inline |
◆ AuxSize()
| Index votca::xtp::ERIs::AuxSize |
( |
| ) |
const |
|
inline |
Number of auxiliary functions the 3c tensor is stored for.
Definition at line 66 of file ERIs.h.
◆ CalculateEnergy()
| double votca::xtp::ERIs::CalculateEnergy |
( |
const Eigen::MatrixXd & | DMAT, |
|
|
const Eigen::MatrixXd & | matrix_operator ) |
|
inlinestatic |
◆ CalculateERIs_3c()
| Eigen::MatrixXd votca::xtp::ERIs::CalculateERIs_3c |
( |
const Eigen::MatrixXd & | DMAT | ) |
const |
◆ CalculateERIs_4c()
| Eigen::MatrixXd votca::xtp::ERIs::CalculateERIs_4c |
( |
const Eigen::MatrixXd & | DMAT, |
|
|
double | error ) const |
|
inline |
◆ CalculateERIs_EXX_3c()
| std::array< Eigen::MatrixXd, 2 > votca::xtp::ERIs::CalculateERIs_EXX_3c |
( |
const Eigen::MatrixXd & | occMos, |
|
|
const Eigen::MatrixXd & | DMAT ) const |
|
inline |
◆ CalculateERIs_EXX_4c()
| std::array< Eigen::MatrixXd, 2 > votca::xtp::ERIs::CalculateERIs_EXX_4c |
( |
const Eigen::MatrixXd & | DMAT, |
|
|
double | error ) const |
|
inline |
◆ CalculateEXX_3c()
| Eigen::MatrixXd votca::xtp::ERIs::CalculateEXX_3c |
( |
const Eigen::MatrixXd & | occMos, |
|
|
const Eigen::MatrixXd & | DMAT ) const |
|
inline |
Exchange matrix only: from the occupied MOs if given, otherwise from the density matrix.
Definition at line 56 of file ERIs.h.
◆ CalculateEXX_dmat()
| Eigen::MatrixXd votca::xtp::ERIs::CalculateEXX_dmat |
( |
const Eigen::MatrixXd & | DMAT | ) |
const |
|
private |
◆ CalculateEXX_mos()
| Eigen::MatrixXd votca::xtp::ERIs::CalculateEXX_mos |
( |
const Eigen::MatrixXd & | occMos | ) |
const |
|
private |
◆ Compute4c()
template<bool with_exchange>
| template std::array< Eigen::MatrixXd, 2 > votca::xtp::ERIs::Compute4c< false > |
( |
const Eigen::MatrixXd & | dmat, |
|
|
double | error ) const |
|
private |
◆ ComputeSchwarzShells()
| Eigen::MatrixXd votca::xtp::ERIs::ComputeSchwarzShells |
( |
const AOBasis & | dftbasis | ) |
const |
|
private |
◆ ComputeShellBlockNorm()
| Eigen::MatrixXd votca::xtp::ERIs::ComputeShellBlockNorm |
( |
const Eigen::MatrixXd & | dmat | ) |
const |
|
private |
◆ ComputeShellPairData()
| std::vector< std::vector< libint2::ShellPair > > votca::xtp::ERIs::ComputeShellPairData |
( |
const std::vector< libint2::Shell > & | basis, |
|
|
const std::vector< std::vector< Index > > & | shellpairs ) const |
|
private |
◆ ExchangeFromFactors()
| Eigen::MatrixXd votca::xtp::ERIs::ExchangeFromFactors |
( |
const Eigen::MatrixXd & | factors, |
|
|
Index | npos ) const |
|
private |
-sum_P (B_P X)(B_P X)^T + sum_P (B_P Y)(B_P Y)^T for factors = [X Y], X being the first npos columns.
Definition at line 174 of file ERIs.cc.
◆ Initialize()
| void votca::xtp::ERIs::Initialize |
( |
const AOBasis & | dftbasis, |
|
|
const AOBasis & | auxbasis, |
|
|
double | pair_threshold = 0.0 ) |
pair_threshold: shell pairs whose three-centre integrals are bounded by less than this are not stored (see TCMatrix_dft); 0 keeps all.
Definition at line 33 of file ERIs.cc.
◆ Initialize_4c()
| void votca::xtp::ERIs::Initialize_4c |
( |
const AOBasis & | dftbasis | ) |
|
◆ MetricSeconds()
| double votca::xtp::ERIs::MetricSeconds |
( |
| ) |
const |
|
inline |
Wall time spent on the aux Coulomb metric and its inverse square root.
Definition at line 71 of file ERIs.h.
◆ Removedfunctions()
| Index votca::xtp::ERIs::Removedfunctions |
( |
| ) |
const |
|
inline |
◆ StoredPairs()
| Index votca::xtp::ERIs::StoredPairs |
( |
| ) |
const |
|
inline |
Stored basis-function pairs of the 3c tensor and all N(N+1)/2 pairs.
Definition at line 68 of file ERIs.h.
◆ basis_
| std::vector<libint2::Shell> votca::xtp::ERIs::basis_ |
|
private |
◆ kDensityRankCutoff
| double votca::xtp::ERIs::kDensityRankCutoff = 1e-12 |
|
staticconstexprprivate |
Relative size below which eigenvalues of a density matrix are treated as zero when it is factorised for the exchange build.
Definition at line 101 of file ERIs.h.
◆ kExchangeBatchRows
| Index votca::xtp::ERIs::kExchangeBatchRows = 1024 |
|
staticconstexprprivate |
Rows of B_P X collected per thread before one rank update.
Definition at line 109 of file ERIs.h.
◆ maxL_
| Index votca::xtp::ERIs::maxL_ |
|
private |
◆ maxnprim_
| Index votca::xtp::ERIs::maxnprim_ |
|
private |
◆ schwarzscreen_
| Eigen::MatrixXd votca::xtp::ERIs::schwarzscreen_ |
|
private |
◆ shellpairdata_
| std::vector<std::vector<libint2::ShellPair> > votca::xtp::ERIs::shellpairdata_ |
|
private |
◆ shellpairs_
| std::vector<std::vector<Index> > votca::xtp::ERIs::shellpairs_ |
|
private |
◆ starts_
| std::vector<Index> votca::xtp::ERIs::starts_ |
|
private |
◆ threecenter_
The documentation for this class was generated from the following files: