#include <expander.h>
Public Member Functions | |
CCart2SphrExpander (void) | |
bool | Read (const parameterMap &m) |
Read from parameter map. | |
bool | Write (parameterMap &m) |
Write to parameter map. | |
bool | convert (const CHistogram3d &sou, CSphericalHarmonicExpansion< THisto1d > &targ, bool skip_odd_l=true) |
Convert to Spherical binning. | |
bool | convert (const CSphericalHarmonicExpansion< THisto1d > &sou, CHistogram3d &targ) |
Convert back to Cartesian binning. | |
Public Attributes | |
int | lmax |
int | ndata |
int | nr |
bool | generate_full_covmtx |
bool | xflipflag |
bool | yflipflag |
bool | zflipflag |
double | symfactor |
Private Member Functions | |
void | resizeLists (int nSize) |
void | setSymmetryFactorAndFlags (const CHistogram3d &sou, bool skip_odd_l) |
void | setUpMtxList (int nSize, int nrows, int ncols) |
void | buildSphr2CartMtx (const CHistogram1d &souTerm, const CHistogram3d &targ) |
void | buildCart2SphrMtx (const CHistogram3d &sou, const CHistogram1d &targTerm) |
double | rInner (double x, double y) |
For setting the integration limits. | |
double | rOuter (double x, double y) |
double | length (double qS, double qO, double qL) |
To get length of (x, y, z) vector. | |
double | lengthsqr (double qS, double qO, double qL) |
Static Private Member Functions | |
static void | cart2SphrMtxIntegrand (void *classptr, int *ndim, double *q, int *numfunc, double *f) |
------------------ cart2SphrMtxIntegrand ------------------- | |
static void | sphr2CartMtxIntegrand (void *classptr, int *ndim, double *q, int *numfunc, double *f) |
------------------ sphr2CartMtxIntegrand ------------------- | |
Private Attributes | |
int | num_int_vec |
vector< int > | l_list |
vector< int > | m_list |
vector< bool > | reim_list |
vector< Array2D< double > > | mtx_list |
double | xlo |
double | xhi |
double | ylo |
double | yhi |
double | zlo |
double | zhi |
double | rlo |
double | rhi |
Definition at line 41 of file expander.h.
CCart2SphrExpander< THisto1d >::CCart2SphrExpander | ( | void | ) | [inline] |
Definition at line 47 of file expander.h.
void CCart2SphrExpander< THisto1d >::buildCart2SphrMtx | ( | const CHistogram3d & | sou, | |
const CHistogram1d & | targTerm | |||
) | [inline, private] |
Definition at line 456 of file expander.h.
void CCart2SphrExpander< THisto1d >::buildSphr2CartMtx | ( | const CHistogram1d & | souTerm, | |
const CHistogram3d & | targ | |||
) | [inline, private] |
Definition at line 342 of file expander.h.
static void CCart2SphrExpander< THisto1d >::cart2SphrMtxIntegrand | ( | void * | classptr, | |
int * | ndim, | |||
double * | q, | |||
int * | numfunc, | |||
double * | f | |||
) | [inline, static, private] |
------------------ cart2SphrMtxIntegrand -------------------
Definition at line 596 of file expander.h.
bool CCart2SphrExpander< THisto1d >::convert | ( | const CSphericalHarmonicExpansion< THisto1d > & | sou, | |
CHistogram3d & | targ | |||
) | [inline] |
bool CCart2SphrExpander< THisto1d >::convert | ( | const CHistogram3d & | sou, | |
CSphericalHarmonicExpansion< THisto1d > & | targ, | |||
bool | skip_odd_l = true | |||
) | [inline] |
double CCart2SphrExpander< THisto1d >::length | ( | double | qS, | |
double | qO, | |||
double | qL | |||
) | [inline, private] |
double CCart2SphrExpander< THisto1d >::lengthsqr | ( | double | qS, | |
double | qO, | |||
double | qL | |||
) | [inline, private] |
Definition at line 644 of file expander.h.
bool CCart2SphrExpander< THisto1d >::Read | ( | const parameterMap & | m | ) | [inline] |
void CCart2SphrExpander< THisto1d >::resizeLists | ( | int | nSize | ) | [inline, private] |
Definition at line 305 of file expander.h.
double CCart2SphrExpander< THisto1d >::rInner | ( | double | x, | |
double | y | |||
) | [inline, private] |
double CCart2SphrExpander< THisto1d >::rOuter | ( | double | x, | |
double | y | |||
) | [inline, private] |
Definition at line 592 of file expander.h.
void CCart2SphrExpander< THisto1d >::setSymmetryFactorAndFlags | ( | const CHistogram3d & | sou, | |
bool | skip_odd_l | |||
) | [inline, private] |
Definition at line 314 of file expander.h.
void CCart2SphrExpander< THisto1d >::setUpMtxList | ( | int | nSize, | |
int | nrows, | |||
int | ncols | |||
) | [inline, private] |
Definition at line 333 of file expander.h.
static void CCart2SphrExpander< THisto1d >::sphr2CartMtxIntegrand | ( | void * | classptr, | |
int * | ndim, | |||
double * | q, | |||
int * | numfunc, | |||
double * | f | |||
) | [inline, static, private] |
------------------ sphr2CartMtxIntegrand -------------------
Definition at line 618 of file expander.h.
bool CCart2SphrExpander< THisto1d >::Write | ( | parameterMap & | m | ) | [inline] |
bool CCart2SphrExpander< THisto1d >::generate_full_covmtx |
Definition at line 57 of file expander.h.
vector< int > CCart2SphrExpander< THisto1d >::l_list [private] |
Definition at line 649 of file expander.h.
int CCart2SphrExpander< THisto1d >::lmax |
Definition at line 54 of file expander.h.
vector< int > CCart2SphrExpander< THisto1d >::m_list [private] |
Definition at line 650 of file expander.h.
vector< Array2D< double > > CCart2SphrExpander< THisto1d >::mtx_list [private] |
Definition at line 652 of file expander.h.
int CCart2SphrExpander< THisto1d >::ndata |
Definition at line 55 of file expander.h.
int CCart2SphrExpander< THisto1d >::nr |
Definition at line 56 of file expander.h.
int CCart2SphrExpander< THisto1d >::num_int_vec [private] |
Definition at line 648 of file expander.h.
vector< bool > CCart2SphrExpander< THisto1d >::reim_list [private] |
Definition at line 651 of file expander.h.
double CCart2SphrExpander< THisto1d >::rhi [private] |
Definition at line 654 of file expander.h.
double CCart2SphrExpander< THisto1d >::rlo [private] |
Definition at line 654 of file expander.h.
double CCart2SphrExpander< THisto1d >::symfactor |
Definition at line 62 of file expander.h.
bool CCart2SphrExpander< THisto1d >::xflipflag |
Definition at line 59 of file expander.h.
double CCart2SphrExpander< THisto1d >::xhi [private] |
Definition at line 654 of file expander.h.
double CCart2SphrExpander< THisto1d >::xlo [private] |
Definition at line 654 of file expander.h.
bool CCart2SphrExpander< THisto1d >::yflipflag |
Definition at line 60 of file expander.h.
double CCart2SphrExpander< THisto1d >::yhi [private] |
Definition at line 654 of file expander.h.
double CCart2SphrExpander< THisto1d >::ylo [private] |
Definition at line 654 of file expander.h.
bool CCart2SphrExpander< THisto1d >::zflipflag |
Definition at line 61 of file expander.h.
double CCart2SphrExpander< THisto1d >::zhi [private] |
Definition at line 654 of file expander.h.
double CCart2SphrExpander< THisto1d >::zlo [private] |
Definition at line 654 of file expander.h.