Alm_Base Class Reference
#include <alm.h>
List of all members.
Detailed Description
Base class for calculating the storage layout of spherical harmonic coefficients.
Definition at line 41 of file alm.h.
Constructor & Destructor Documentation
Alm_Base::Alm_Base |
( |
int |
lmax_ = 0 , |
|
|
int |
mmax_ = 0 | |
|
) |
| | [inline] |
Constructs an Alm_Base object with given lmax and mmax.
Definition at line 52 of file alm.h.
Member Function Documentation
tsize Alm_Base::Num_Alms |
( |
int |
l, |
|
|
int |
m | |
|
) |
| | [static] |
Returns the total number of coefficients for maximum quantum numbers l and m.
Definition at line 39 of file alm.cc.
void Alm_Base::Set |
( |
int |
lmax_, |
|
|
int |
mmax_ | |
|
) |
| | [inline] |
Changes the object's maximum quantum numbers to lmax and mmax.
Reimplemented in Alm< T >.
Definition at line 56 of file alm.h.
int Alm_Base::Lmax |
( |
|
) |
const [inline] |
Returns the maximum l
Definition at line 64 of file alm.h.
int Alm_Base::Mmax |
( |
|
) |
const [inline] |
Returns the maximum m
Definition at line 66 of file alm.h.
int Alm_Base::index_l0 |
( |
int |
m |
) |
const [inline] |
Returns an array index for a given m, from which the index of a_lm can be obtained by adding l.
Definition at line 70 of file alm.h.
int Alm_Base::index |
( |
int |
l, |
|
|
int |
m | |
|
) |
| | const [inline] |
Returns the array index of the specified coefficient.
Definition at line 74 of file alm.h.
bool Alm_Base::conformable |
( |
const Alm_Base & |
other |
) |
const [inline] |
Returns true, if both objects have the same lmax and mmax, else false.
Definition at line 79 of file alm.h.
void Alm_Base::swap |
( |
Alm_Base & |
other |
) |
|
Swaps the contents of two Alm_Base objects.
Definition at line 45 of file alm.cc.
The documentation for this class was generated from the following files: