sc::RadialIntegrator(3)
π sc::RadialIntegrator β like, the mother of all radial integrators (MPQC manual, bestie)
okay so picture this: it's sc::RadialIntegrator(3), it lives in the MPQC manual, and it's the blueprint every radial integrator wishes it could be. literally the abstract base class of the whole friend group. π
β¨ NAME β¨
sc::RadialIntegrator β an abstract base class for radial integrators. no cap, that's the whole job description. it's giving "I define the vibe, you do the math." π
πΈ SYNOPSIS πΈ
#include <integrator.h>
Inherits sc::SavableState. π«Ά
Inherited by sc::EulerMaclaurinRadialIntegrator. (yes bestie, it has descendants, main character energy fr fr π)
π Public Member Functions π
RadialIntegrator(const Ref< KeyVal > &)β constructor that takes aRef< KeyVal >. that's it, that's the whole sentence, i'm not gonna invent lore about it. πRadialIntegrator(StateIn &)β the other constructor, this one 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. the order matters, okay?? don't be chaotic about it. πvirtual int nr() const =0β pure virtual,=0, meaning you have to implement it. it's literally in the syllabus and you can't skip it. β¨virtual double radial_value(int ir, int nr, double radii, double &multiplier)=0β also pure virtual (=0), also your problem now. note thatmultiplieris adouble &β a reference, so it's an out-param vibe. π¦
π Protected Attributes π
int nr_β a protectedintnamednr_. iconic underscore. β
π«Ά Additional Inherited Members π«Ά
yep, there's an "Additional Inherited Members" section too β it just means stuff comes down from the parent class, sc::SavableState. inheritance slay.
π¦ Detailed Description π¦
An abstract base class for radial integrators.
like... that's it. that's the description. and honestly? it ate. π abstract means you can't instantiate it directly β it's a concept, a mood, a vibe check for its subclasses. π₯
π Member Function Documentation π
π void sc::RadialIntegrator::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.
β οΈ bestie listen: this must be implemented by the derived class if the class has data. not optional. not "later". must. π€
Reimplemented from sc::SavableState.
Reimplemented in sc::EulerMaclaurinRadialIntegrator.
π Author π
Generated automatically by Doxygen for MPQC from the source code. (so nobody wrote this prose, a robot did β respect the robot π§)
and that's the whole page, periodt. π
π cute little sign-off: this manual page is from MPQC version 2.3.1, dated Sun Oct 4 2020, and the page title issc::RadialIntegrator(3)β iykyk. bye bestie, go implementnr()andradial_value()before you forget. πΈπ«Ά
π¦ 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