SC_GAUSSLEGENDREANGULARINTEGRATOR(3)
π sc::GaussLegendreAngularIntegrator π
okay bestie, so this is a page from the MPQC manual β literally the sc::GaussLegendreAngularIntegrator(3) page, and it's giving "niche computational chemistry realness" π§ͺβ¨. Buckle up, because we're about to make an angular integrator make sense, and honestly? It's lowkey iconic.
β¨ NAME β¨
sc::GaussLegendreAngularIntegrator β an implementation of an angular integrator using the Gauss-Legendre weights and grid points. That's the whole vibe. Periodt. π
πΈ SYNOPSIS πΈ
First things first, you gotta include the header, bestie:
#include <integrator.h>
And plot twist β this class Inherits sc::AngularIntegrator. Like, it's part of the family. Family tree matters, iykyk. π«Ά
π DESCRIPTION π
So basically, sc::GaussLegendreAngularIntegrator is an implementation of an angular integrator using the Gauss-Legendre weights and grid points. That's it, that's the tea. β It's doing angular integration things with Gauss-Legendre math, and it's the whole point of the class. Slay.
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π
π¦ sc::GaussLegendreAngularIntegrator::GaussLegendreAngularIntegrator (const Ref< KeyVal > &)
This bad boy contracts a GaussLegendreAngularIntegrator from KeyVal input. Subtext, though: this class is for testing, okay? The LebedevLaikovIntegrator is preferred for normal use. So like, don't make it your main character unless you're testing. π
The following parameters are read:
nthetanphiKtheta
Those three. That's the list. Don't forget 'em. β¨
π₯ MEMBER FUNCTION DOCUMENTATION π₯
void sc::GaussLegendreAngularIntegrator::save_data_state (StateOut &) β [virtual]
This one saves the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. Order matters, bestie β do not mess with it. π€
Here's the hard rule: this must be implemented by the derived class if the class has data. No data, no problem; data? You're implementing this, periodt.
Reimplemented from sc::AngularIntegrator. π
π PROTECTED MEMBER FUNCTIONS π
okay so these are the protected ones β the inner circle. Here's the full roster, no skips, no cuts:
int get_ntheta (void) constvoid set_ntheta (int i)int get_nphi (void) constvoid set_nphi (int i)int get_Ktheta (void) constvoid set_Ktheta (int i)int get_ntheta_r (void) constvoid set_ntheta_r (int i)int get_nphi_r (void) constvoid set_nphi_r (int i)int get_Ktheta_r (void) constvoid set_Ktheta_r (int i)int nw (void) constdouble sin_theta (SCVector3 &point) constvoid gauleg (double x1, double x2, int n)
Getters and setters galore, plus nw, sin_theta, and gauleg. It's giving "internal machinery that runs the whole operation." π
π PROTECTED ATTRIBUTES π
The protected attributes, aka the data girlies:
int ntheta_int nphi_int Ktheta_int ntheta_r_int nphi_r_int Ktheta_r_double * theta_quad_weights_double * theta_quad_points_
That's the complete list. Memorize it or at least screenshot it. πΈ
β ADDITIONAL INHERITED MEMBERS β
There are additional inherited members too β this class didn't come to play alone, it's part of a whole ecosystem. π
π DETAILED DESCRIPTION π
An implementation of an angular integrator using the Gauss-Legendre weights and grid points. Yes, we said it in the NAME section and we're saying it again because it's literally the whole description. Repetition is a valid aesthetic. π
π§ AUTHOR π§
Generated automatically by Doxygen for MPQC from the source code. Not a human author, a whole robot over here doing the most. π€β¨
π SIGN-OFF π
This page was brought to you by Version 2.3.1 and dated Sun Oct 4 β and that's the whole footer, folded up all cute at the end like a little bow. π Bye bestie, go integrate those angles! ππ«Άπ
π¦ 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