CCart2SphrExpander< THisto1d > Class Template Reference

#include <expander.h>

Collaboration diagram for CCart2SphrExpander< THisto1d >:
[legend]

List of all members.

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


Detailed Description

template<class THisto1d>
class CCart2SphrExpander< THisto1d >

Definition at line 41 of file expander.h.


Constructor & Destructor Documentation

template<class THisto1d>
CCart2SphrExpander< THisto1d >::CCart2SphrExpander ( void   )  [inline]

Definition at line 47 of file expander.h.


Member Function Documentation

template<class THisto1d>
void CCart2SphrExpander< THisto1d >::buildCart2SphrMtx ( const CHistogram3d sou,
const CHistogram1d targTerm 
) [inline, private]

Definition at line 456 of file expander.h.

template<class THisto1d>
void CCart2SphrExpander< THisto1d >::buildSphr2CartMtx ( const CHistogram1d souTerm,
const CHistogram3d targ 
) [inline, private]

Definition at line 342 of file expander.h.

template<class THisto1d>
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.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::convert ( const CSphericalHarmonicExpansion< THisto1d > &  sou,
CHistogram3d targ 
) [inline]

Convert back to Cartesian binning.

Definition at line 171 of file expander.h.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::convert ( const CHistogram3d sou,
CSphericalHarmonicExpansion< THisto1d > &  targ,
bool  skip_odd_l = true 
) [inline]

Convert to Spherical binning.

Definition at line 84 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::length ( double  qS,
double  qO,
double  qL 
) [inline, private]

To get length of (x, y, z) vector.

Definition at line 643 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::lengthsqr ( double  qS,
double  qO,
double  qL 
) [inline, private]

Definition at line 644 of file expander.h.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::Read ( const parameterMap m  )  [inline]

Read from parameter map.

Definition at line 66 of file expander.h.

template<class THisto1d>
void CCart2SphrExpander< THisto1d >::resizeLists ( int  nSize  )  [inline, private]

Definition at line 305 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::rInner ( double  x,
double  y 
) [inline, private]

For setting the integration limits.

Definition at line 591 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::rOuter ( double  x,
double  y 
) [inline, private]

Definition at line 592 of file expander.h.

template<class THisto1d>
void CCart2SphrExpander< THisto1d >::setSymmetryFactorAndFlags ( const CHistogram3d sou,
bool  skip_odd_l 
) [inline, private]

Definition at line 314 of file expander.h.

template<class THisto1d>
void CCart2SphrExpander< THisto1d >::setUpMtxList ( int  nSize,
int  nrows,
int  ncols 
) [inline, private]

Definition at line 333 of file expander.h.

template<class THisto1d>
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.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::Write ( parameterMap m  )  [inline]

Write to parameter map.

Definition at line 75 of file expander.h.


Member Data Documentation

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::generate_full_covmtx

Definition at line 57 of file expander.h.

template<class THisto1d>
vector< int > CCart2SphrExpander< THisto1d >::l_list [private]

Definition at line 649 of file expander.h.

template<class THisto1d>
int CCart2SphrExpander< THisto1d >::lmax

Definition at line 54 of file expander.h.

template<class THisto1d>
vector< int > CCart2SphrExpander< THisto1d >::m_list [private]

Definition at line 650 of file expander.h.

template<class THisto1d>
vector< Array2D< double > > CCart2SphrExpander< THisto1d >::mtx_list [private]

Definition at line 652 of file expander.h.

template<class THisto1d>
int CCart2SphrExpander< THisto1d >::ndata

Definition at line 55 of file expander.h.

template<class THisto1d>
int CCart2SphrExpander< THisto1d >::nr

Definition at line 56 of file expander.h.

template<class THisto1d>
int CCart2SphrExpander< THisto1d >::num_int_vec [private]

Definition at line 648 of file expander.h.

template<class THisto1d>
vector< bool > CCart2SphrExpander< THisto1d >::reim_list [private]

Definition at line 651 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::rhi [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::rlo [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::symfactor

Definition at line 62 of file expander.h.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::xflipflag

Definition at line 59 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::xhi [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::xlo [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::yflipflag

Definition at line 60 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::yhi [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::ylo [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
bool CCart2SphrExpander< THisto1d >::zflipflag

Definition at line 61 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::zhi [private]

Definition at line 654 of file expander.h.

template<class THisto1d>
double CCart2SphrExpander< THisto1d >::zlo [private]

Definition at line 654 of file expander.h.


The documentation for this class was generated from the following file:

Generated on Fri Feb 6 13:30:17 2009 for CorAL by  doxygen 1.5.8