sc::IntegrationWeight(3)
okay bestie, this is sc::IntegrationWeight(3) from the MPQC manual, and it's giving abstract-base-class royalty πβ¨
π NAME π
sc::IntegrationWeight β an abstract base class for computing grid weights. That's the whole vibe: it's the blueprint parent class, not the one doing the actual weight math.
πΈ SYNOPSIS πΈ
#include <integrator.h>
Inherits sc::SavableState.
Inherited by sc::BeckeIntegrationWeight.
π Public Member Functions π
IntegrationWeight (const Ref< KeyVal > &)β constructor that takes aconst Ref< KeyVal > &. No extra description on the page, just the signature doing its thing.IntegrationWeight (StateIn &)β constructor that takes aStateIn &.void save_data_state (StateOut &)β saves the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.void test (int icenter, SCVector3 &point)β atestfunction taking anint icenterand anSCVector3 &point.void test ()β the no-argumenttestfunction.virtual void init (const Ref< Molecule > &, double tolerance)β initialize the integration weight object.virtual void done ()β called when finished with the integration weight object.virtual double w (int center, SCVector3 &point, double *grad_w=0)=0β computes the weight for a given center at a given point in space.
π¦ Protected Member Functions π¦
void fd_w (int icenter, SCVector3 &point, double *fd_grad_w)β protected member function, listed with this exact signature. The page gives it no extra description, so we're not inventing one π
π Protected Attributes π
Ref< Molecule > mol_β protected attribute.double tol_β protected attribute.
β¨ Additional Inherited Members β¨
The original page leaves this heading empty β no extra inherited members are listed under it here. That's the whole section, bestie π«Ά
π Detailed Description π
An abstract base class for computing grid weights.
Yep, same energy as the NAME line: it's the abstract base class blueprint for grid-weight computation. Not the final boss weight object itself. Periodt.
π₯ Member Function Documentation π₯
void sc::IntegrationWeight::save_data_state (StateOut &) [virtual]
Saves 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::BeckeIntegrationWeight.
virtual double sc::IntegrationWeight::w (int center, SCVector3 & point, double * grad_w = 0) [pure virtual]
Computes the weight for a given center at a given point in space.
Derivatives of the weigth with respect to nuclear coordinates are optionally returned in grad_w.
This must be called after init, but before done.
It must also be thread-safe. No cap, that part matters ππ₯
Implemented in sc::BeckeIntegrationWeight.
π AUTHOR π
Generated automatically by Doxygen for MPQC from the source code. So not a human author β just Doxygen doing its lil automatic thing π
MPQC Β· Version 2.3.1 Β· Sun Oct 4 2020 Β· sc::IntegrationWeight(3) β okay that's the page, bye bestie π
β¨π«Ά
π¦ 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