ergo
|
#include "basisinfo.h"
Go to the source code of this file.
Functions | |
ergo_real | do_2e_integral (int mu, int nu, int la, int si, const BasisInfoStruct &basisInfo, const IntegralInfo *integralInfo) |
int | compute_2e_matrix_list_explicit (const BasisInfoStruct &basisInfo, const IntegralInfo *integralInfo, ergo_real **resultList, ergo_real **densList, int noOfMatrices, ergo_real threshold) |
int | compute_2e_matrix_simple (const BasisInfoStruct &basisInfo, const IntegralInfo *integralInfo, ergo_real hf_weight, ergo_real *result, const ergo_real *dens) |
compute_2e_matrix_simple computes the 2el matrix in the simplest possible way. |
int compute_2e_matrix_list_explicit | ( | const BasisInfoStruct & | basisInfo, |
const IntegralInfo * | integralInfo, | ||
ergo_real ** | resultList, | ||
ergo_real ** | densList, | ||
int | noOfMatrices, | ||
ergo_real | threshold | ||
) |
References do_output(), LOG_CAT_INFO, LOG_AREA_INTEGRALS, BasisInfoStruct::noOfBasisFuncs, ergo_malloc(), compute_J_and_K_integraldriven(), LOG_CAT_ERROR, and ergo_free().
Referenced by get_2e_matrix_and_energy_sparse().
int compute_2e_matrix_simple | ( | const BasisInfoStruct & | basisInfo, |
const IntegralInfo * | integralInfo, | ||
ergo_real | hf_weight, | ||
ergo_real * | result, | ||
const ergo_real * | dens | ||
) |
compute_2e_matrix_simple computes the 2el matrix in the simplest possible way.
It assumes that the matrix is computed for closed shell. The weight of the HF exchange is controlled by
hf_weight | which is equal 1 for ordinary Hartree-Fock calculation. No assumption are made regarding symmetry of the density matrix |
dens | . The computed two-electron part of the Fock matrix is returned in |
result | . |
basisInfo | info about the used basis set. |
integralInfo | info needed for evaluation of integrals of Gaussian functions. |
References BasisInfoStruct::noOfBasisFuncs, do_output(), LOG_CAT_INFO, LOG_AREA_INTEGRALS, and do_2e_integral().
Referenced by ErgoE2Evaluator::transform().
ergo_real do_2e_integral | ( | int | mu, |
int | nu, | ||
int | la, | ||
int | si, | ||
const BasisInfoStruct & | basisInfo, | ||
const IntegralInfo * | integralInfo | ||
) |
References get_product_simple_primitives(), do_output(), LOG_CAT_ERROR, LOG_AREA_INTEGRALS, globalCount, and do_2e_integral_using_symb_info().
Referenced by do_CI(), compute_2e_matrix_simple(), compute_J_and_K_integraldriven(), saveCoulomb(), try_integral_diffs(), and main().