1#ifndef TWO_CENTER_INTEGRATOR_H_
2#define TWO_CENTER_INTEGRATOR_H_
96 double* out =
nullptr,
97 double* grad_out =
nullptr
106 void snap(
const int itype1,
113 std::vector<std::vector<double>>& out
133 int ylm_index(
const int l,
const int m)
const;
3 elements vector
Definition vector3.h:22
A class that holds all numerical radial functions of the same kind.
Definition radial_collection.h:18
A class to compute two-center integrals.
Definition two_center_integrator.h:35
size_t table_memory() const
Returns the amount of heap memory used by table_ (in bytes).
Definition two_center_integrator.h:117
void snap(const int itype1, const int l1, const int izeta1, const int m1, const int itype2, const ModuleBase::Vector3< double > &vR, const bool deriv, std::vector< std::vector< double > > &out) const
Compute a batch of two-center integrals.
Definition two_center_integrator.cpp:96
char op_
Definition two_center_integrator.h:121
TwoCenterIntegrator & operator=(const TwoCenterIntegrator &)=delete
TwoCenterTable table_
Definition two_center_integrator.h:122
void tabulate(const RadialCollection &bra, const RadialCollection &ket, const char op, const int nr, const double cutoff)
Tabulates the radial part of a two-center integral.
Definition two_center_integrator.cpp:13
TwoCenterIntegrator(const TwoCenterIntegrator &)=delete
int ylm_index(const int l, const int m) const
Returns the index of (l,m) in the array of spherical harmonics.
Definition two_center_integrator.cpp:156
~TwoCenterIntegrator()
Definition two_center_integrator.h:41
bool is_tabulated_
Definition two_center_integrator.h:120
TwoCenterIntegrator()
Definition two_center_integrator.cpp:7
Definition two_center_table.h:9
size_t memory() const
Returns the amount of heap memory used by this class (in bytes).
Definition two_center_table.h:80
void calculate()
Definition main.cpp:24
const std::map< std::string, std::vector< double > > op
Definition vdwd3_autoset_xcparam.cpp:372