sc::SumDenFunctional(3)
π sc::SumDenFunctional(3) π
okay so bestie, welcome to the MPQC manual page for sc::SumDenFunctional. this one is highkey giving βsum of energy density functionsβ realness, and weβre gonna go through every single detail together. no cap. π
πΈ NAME πΈ
sc::SumDenFunctional β The SumDenFunctional computes energies and densities using the a sum of energy density functions method. π
β¨ SYNOPSIS β¨
#include <functional.h>
- Inherits:
sc::DenFunctional. - Inherited by:
sc::StdDenFunctional.
π¦ Public Member Functions π¦
SumDenFunctional (const Ref< KeyVal > &)β this KeyVal constructor reads the keywords below.SumDenFunctional (StateIn &)β signature only on this page, bestie.void save_data_state (StateOut &)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.void set_spin_polarized (int)β signature only on this page.void set_compute_potential (int)β signature only on this page.int need_density_gradient ()β signature only on this page.void point (const PointInputData &, PointOutputData &)β signature only on this page.void print (std::ostream &=ExEnv::out0()) constβ Print the object.double a0 () constβ Override theDenFunctional::a0()member, so thata0's in contributing functionals can be added in as well.
π Protected Attributes π
int n_Ref< DenFunctional > * funcs_double * coefs_
π Additional Inherited Members π
yup, the page also has an Additional Inherited Members section. there arenβt any extra bullet points spelled out here, bestie β thatβs the whole vibe. π«Ά
π Detailed Description π
The SumDenFunctional computes energies and densities using the a sum of energy density functions method. iconic behavior, honestly. β¨
πΈ Constructor & Destructor Documentation πΈ
πΈ sc::SumDenFunctional::SumDenFunctional (const Ref< KeyVal > &) πΈ
This KeyVal constructor reads the following keywords:
funcsβ Specifies an array ofDenIntegratorobjects.coefsβ Specifies the coefficient of eachDenIntegratorobject.a0β Specifies the coefficient of the Hartree-Fock exchange. This is nonzero for hybrid functionals. The default is zero.
For example, the B3LYP functional can be specified with the following input:
functional<SumDenFunctional>: (
a0 = 0.2
coefs = [ 0.8 0.72 0.19 0.81 ]
funcs: [
<SlaterXFunctional>:()
<Becke88XFunctional>:()
<VWN1LCFunctional>:( rpa = 1 )
<LYPCFunctional>:()
]
)
π₯ Member Function Documentation π₯
π
void sc::SumDenFunctional::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::DenFunctional.
Reimplemented in sc::StdDenFunctional.
β Author β
Generated automatically by Doxygen for MPQC from the source code. π«Ά
okay thatβs the whole page, bestie π this is MPQC version 2.3.1, dated Sun Oct 4 2020, and the page id is sc::SumDenFunctional(3). mwah πβ¨
π¦ 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