sc::DenIntegrator(3)
πΈ NAME πΈ
okay bestie, welcome to the sc::DenIntegrator(3) page from the MPQC manual, section 3. This is an abstract base class for integrating the electron density. That's the whole name vibe: it's the blueprint, not the final boss. π
β¨ SYNOPSIS β¨
#include <integrator.h>
Inherits sc::SavableState.
Inherited by sc::RadialAngularIntegrator.
π Public Member Functions π
DenIntegrator ()β Construct a newDenIntegrator.DenIntegrator (const Ref< KeyVal > &)β Construct a newDenIntegratorgiven theKeyValinput.DenIntegrator (StateIn &)β Construct a newDenIntegratorgiven theStateIndata.void save_data_state (StateOut &)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.Ref< Wavefunction > wavefunction () constβ Returns the wavefunction used for the integration.double value () constβ Returns the result of the integration.void set_accuracy (double a)β Sets the accuracy to use in the integration.double get_accuracy (void)β no extra description was given on the page, bestie; that's literally it.void set_compute_potential_integrals (int)β Call with non zero if the potential integrals are to be computed.const double * alpha_vmat () constβ Returns the alpha potential integrals.const double * beta_vmat () constβ Returns the beta potential integrals.virtual void init (const Ref< Wavefunction > &)β Called beforeintegrate.virtual void done ()β Must be called between calls toinit.virtual void integrate (const Ref< DenFunctional > &, const RefSymmSCMatrix &densa=0, const RefSymmSCMatrix &densb=0, double *nuclear_grad=0)=0β Performs the integration of the given functional using the given alpha and beta density matrices.
π Protected Member Functions π
void init_integration (const Ref< DenFunctional > &func, const RefSymmSCMatrix &densa, const RefSymmSCMatrix &densb, double *nuclear_gradient)β no extra blurb on the page.void done_integration ()β no extra blurb on the page.void init_object ()β no extra blurb on the page.
π¦ Protected Attributes π¦
Ref< Wavefunction > wfn_β protected attribute, listed exactly like that.Ref< BatchElectronDensity > den_β protected attribute, listed exactly like that.Ref< ThreadGrp > threadgrp_β protected attribute, listed exactly like that.Ref< MessageGrp > messagegrp_β protected attribute, listed exactly like that.double value_β protected attribute, listed exactly like that.double accuracy_β protected attribute, listed exactly like that.double * alpha_vmat_β protected attribute, listed exactly like that.double * beta_vmat_β protected attribute, listed exactly like that.int spin_polarized_β protected attribute, listed exactly like that.int need_density_β protected attribute, listed exactly like that.double density_β protected attribute, listed exactly like that.int nbasis_β protected attribute, listed exactly like that.int nshell_β protected attribute, listed exactly like that.int n_integration_center_β protected attribute, listed exactly like that.int natom_β protected attribute, listed exactly like that.int compute_potential_integrals_β protected attribute, listed exactly like that.int linear_scaling_β protected attribute, listed exactly like that.int use_dmat_bound_β protected attribute, listed exactly like that.
π Additional Inherited Members π
This heading is here to say there are additional inherited members, and then the detailed description follows. No extra inherited-member list appears on the original page.
π Detailed Description π
An abstract base class for integrating the electron density.
π₯ Member Function Documentation π₯
const double* sc::DenIntegrator::alpha_vmat () const [inline]
Returns the alpha potential integrals. Stored as the lower triangular, row-major format.
const double* sc::DenIntegrator::beta_vmat () const [inline]
Returns the beta potential integrals. Stored as the lower triangular, row-major format.
virtual void sc::DenIntegrator::init (const Ref< Wavefunction > &) [virtual]
Called before integrate. Does not need to be called again unless the geometry changes or done is called.
virtual void sc::DenIntegrator::integrate (const Ref< DenFunctional > &, const RefSymmSCMatrix & densa = 0, const RefSymmSCMatrix & densb = 0, double * nuclear_grad = 0) [pure virtual]
Performs the integration of the given functional using the given alpha and beta density matrices. The nuclear derivative contribution is placed in nuclear_grad, if it is non-null.
Implemented in sc::RadialAngularIntegrator.
void sc::DenIntegrator::save_data_state (StateOut &) [virtual]
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.
Reimplemented from sc::SavableState.
Reimplemented in sc::RadialAngularIntegrator.
void sc::DenIntegrator::set_compute_potential_integrals (int)
Call with non zero if the potential integrals are to be computed. They can be returned with the vmat() member.
β Author β
Generated automatically by Doxygen for MPQC from the source code.
That's the whole sc::DenIntegrator(3) page, bestie. Cute sign-off: from the MPQC source, this is Version 2.3.1, dated Sun Oct 4 2020. π«Άβ¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms