57 double *_Plm =
nullptr;
58 double *_dPlm =
nullptr;
59 double *_ddPlm =
nullptr;
70 int lm_idx(
int l,
int m);
86 Plm(
int l_max,
double theta,
bool derivatives =
false,
bool second_derivatives =
false);
92 Plm &operator=(
const Plm &other);
Header file for computing normalization constants for spherical harmonics.
Computes recursively and stores normalization constants for fully-normalized spherical harmonics.
Definition Nlm.hpp:40
Class that computes and stores the Associated Legendre Functions (ALFs) and its derivatives at a give...
Definition Plm.hpp:56
double get_ddPlm_bar(int l, int m)
Getter for fully-normalized ALF 2nd order derivative.
Definition Plm.cpp:226
double get_ddPlm(int l, int m)
Getter for unnormalized ALF derivative.
Definition Plm.cpp:228
double get_dPlm_bar(int l, int m)
Getter for fully-normalized ALF derivative.
Definition Plm.cpp:222
double get_Plm(int l, int m)
Getter for unnormalized ALF.
Definition Plm.cpp:220
double get_Plm_bar(int l, int m)
Getter for fully-normalized ALF.
Definition Plm.cpp:218
double get_dPlm(int l, int m)
Getter for unnormalized ALF derivative.
Definition Plm.cpp:224
double get_theta() const
Getter for associated colatitude.
Definition Plm.cpp:230
Plm()
Definition Plm.cpp:14