CCHArray Class Reference

#include <arrays.h>

Collaboration diagram for CCHArray:
[legend]

List of all members.

Public Member Functions

 CCHArray (string arrayparsfilename)
 CCHArray (int LMAXset, int NRADIALset, double RADSTEPset)
 CCHArray (int LMAXset, int NRADIALset, double RADSTEPset, bool XSYMset, bool YSYMset, bool ZSYMset)
 ~CCHArray ()
int GetLMAX ()
int GetNRADIAL ()
double GetRADSTEP ()
void SetLMAX (int LMAXset)
void SetRADSTEP (double RADSTEPset)
bool GetXSYM ()
bool GetYSYM ()
bool GetZSYM ()
void PrintPars ()
void ZeroArray ()
void ZeroArray (int lx, int ly, int lz)
void ZeroArray (int ir)
void ZeroArray_Partial (int LMAX_Partial)
void ZeroArray_Partial (int LMAX_Partial, int ir)
void ScaleArray (double scalefactor)
void ScaleArray (double scalefactor, int ir)
double GetElement (int lx, int ly, int lz, int ir)
double GetElement (int lx, int ly, int lz, double r)
void SetElement (int lx, int ly, int lz, int ir, double Element)
void SetElement (int lx, int ly, int lz, double r, double Element)
void IncrementElement (int lx, int ly, int lz, int ir, double increment)
void IncrementElement (int lx, int ly, int lz, double r, double increment)
void PrintArrayFixedIR (int ir)
void PrintArrayFixedIR (int LMAXPrint, int ir)
void Print (int lx, int ly, int lz)
void PrintProjections ()
void GetProjections (double **A)
void PrintMoments ()
double GetBiggest (int ir)
void ReadAX (string dirname)
void WriteAX (string dirname)
void ReadAllA (string dirname)
void WriteAllA (string dirname)
void WriteShort (string filename, int WLMAX)
void IncrementAExpArray (double x, double y, double z, double weight)
void IncrementAExpArrayFromE (double ex, double ey, double ez, double weight, int ir)
void AltIncrementAExpArrayFromE (double ex, double ey, double ez, double weight, int ir)
void AltAltIncrementAExpArrayFromE (double ex, double ey, double ez, double weight, int ir)
void IncrementMArrayFromE (double ex, double ey, double ez, double weight, int ir)
void IncrementAExpArrayFromThetaPhi (double theta, double phi, double weight, int ir)
void IncrementMArrayFromThetaPhi (double theta, double phi, double weight, int ir)
double GetMElementFromAExpArray (int lx, int ly, int lz, int ir)
double GetAExpElementFromMArray (int lx, int ly, int lz, int ir)
void FillRemainderX (int ir)
void FillRemainderY (int ir)
void FillRemainderZ (int ir)
void FillRemainderX ()
void FillRemainderY ()
void FillRemainderZ ()
double AExpand (double ex, double ey, double ez, int ir)
double AExpand (double x, double y, double z)
double AExpand (double theta, double phi, int ir)
void Detrace (int ir)
void Detrace ()
void Randomize (double mag, int ir)
void RandomizeA (double mag, int ir)
void Randomize (double mag)
void RandomizeA (double mag)
void RandomizeA_Gaussian (double mag, int ir)
void RandomizeA_Gaussian (double mag)

Static Public Attributes

static CCHCalcchcalc = NULL

Private Member Functions

void CreateArray ()
void RandomInit (int iseed)

Private Attributes

bool XSYM
bool YSYM
bool ZSYM
double RADSTEP
int NRADIAL
int LMAX
double **** A
int dlx
int dly
int dlz

Static Private Attributes

static CRandomrandy = NULL


Detailed Description

Definition at line 15 of file arrays.h.


Constructor & Destructor Documentation

CCHArray::CCHArray ( string  arrayparsfilename  ) 

Definition at line 34 of file charray.cc.

CCHArray::CCHArray ( int  LMAXset,
int  NRADIALset,
double  RADSTEPset 
)

Definition at line 9 of file charray.cc.

CCHArray::CCHArray ( int  LMAXset,
int  NRADIALset,
double  RADSTEPset,
bool  XSYMset,
bool  YSYMset,
bool  ZSYMset 
)

Definition at line 19 of file charray.cc.

CCHArray::~CCHArray (  ) 

Definition at line 77 of file charray.cc.


Member Function Documentation

double CCHArray::AExpand ( double  theta,
double  phi,
int  ir 
)

Definition at line 671 of file charray.cc.

double CCHArray::AExpand ( double  x,
double  y,
double  z 
)

Definition at line 696 of file charray.cc.

double CCHArray::AExpand ( double  ex,
double  ey,
double  ez,
int  ir 
)

Definition at line 681 of file charray.cc.

void CCHArray::AltAltIncrementAExpArrayFromE ( double  ex,
double  ey,
double  ez,
double  weight,
int  ir 
)

void CCHArray::AltIncrementAExpArrayFromE ( double  ex,
double  ey,
double  ez,
double  weight,
int  ir 
)

Definition at line 474 of file charray.cc.

void CCHArray::CreateArray (  )  [private]

Definition at line 60 of file charray.cc.

void CCHArray::Detrace (  ) 

Definition at line 814 of file charray.cc.

void CCHArray::Detrace ( int  ir  ) 

Definition at line 806 of file charray.cc.

void CCHArray::FillRemainderX (  ) 

Definition at line 617 of file charray.cc.

void CCHArray::FillRemainderX ( int  ir  ) 

Definition at line 629 of file charray.cc.

void CCHArray::FillRemainderY (  ) 

Definition at line 621 of file charray.cc.

void CCHArray::FillRemainderY ( int  ir  ) 

Definition at line 642 of file charray.cc.

void CCHArray::FillRemainderZ (  ) 

Definition at line 625 of file charray.cc.

void CCHArray::FillRemainderZ ( int  ir  ) 

Definition at line 656 of file charray.cc.

double CCHArray::GetAExpElementFromMArray ( int  lx,
int  ly,
int  lz,
int  ir 
)

Definition at line 538 of file charray.cc.

double CCHArray::GetBiggest ( int  ir  ) 

Definition at line 305 of file charray.cc.

double CCHArray::GetElement ( int  lx,
int  ly,
int  lz,
double  r 
)

Definition at line 122 of file charray.cc.

double CCHArray::GetElement ( int  lx,
int  ly,
int  lz,
int  ir 
)

Definition at line 109 of file charray.cc.

int CCHArray::GetLMAX (  ) 

Definition at line 89 of file charray.cc.

double CCHArray::GetMElementFromAExpArray ( int  lx,
int  ly,
int  lz,
int  ir 
)

Definition at line 562 of file charray.cc.

int CCHArray::GetNRADIAL (  ) 

Definition at line 97 of file charray.cc.

void CCHArray::GetProjections ( double **  A  ) 

Definition at line 257 of file charray.cc.

double CCHArray::GetRADSTEP (  ) 

Definition at line 101 of file charray.cc.

bool CCHArray::GetXSYM (  ) 

Definition at line 319 of file charray.cc.

bool CCHArray::GetYSYM (  ) 

Definition at line 324 of file charray.cc.

bool CCHArray::GetZSYM (  ) 

Definition at line 329 of file charray.cc.

void CCHArray::IncrementAExpArray ( double  x,
double  y,
double  z,
double  weight 
)

Definition at line 448 of file charray.cc.

void CCHArray::IncrementAExpArrayFromE ( double  ex,
double  ey,
double  ez,
double  weight,
int  ir 
)

Definition at line 458 of file charray.cc.

void CCHArray::IncrementAExpArrayFromThetaPhi ( double  theta,
double  phi,
double  weight,
int  ir 
)

Definition at line 588 of file charray.cc.

void CCHArray::IncrementElement ( int  lx,
int  ly,
int  lz,
double  r,
double  increment 
)

Definition at line 159 of file charray.cc.

void CCHArray::IncrementElement ( int  lx,
int  ly,
int  lz,
int  ir,
double  increment 
)

Definition at line 146 of file charray.cc.

void CCHArray::IncrementMArrayFromE ( double  ex,
double  ey,
double  ez,
double  weight,
int  ir 
)

Definition at line 597 of file charray.cc.

void CCHArray::IncrementMArrayFromThetaPhi ( double  theta,
double  phi,
double  weight,
int  ir 
)

Definition at line 608 of file charray.cc.

void CCHArray::Print ( int  lx,
int  ly,
int  lz 
)

Definition at line 234 of file charray.cc.

void CCHArray::PrintArrayFixedIR ( int  LMAXPrint,
int  ir 
)

Definition at line 279 of file charray.cc.

void CCHArray::PrintArrayFixedIR ( int  ir  ) 

Definition at line 275 of file charray.cc.

void CCHArray::PrintMoments (  ) 

Definition at line 852 of file charray.cc.

void CCHArray::PrintPars (  ) 

Definition at line 443 of file charray.cc.

void CCHArray::PrintProjections (  ) 

Definition at line 240 of file charray.cc.

void CCHArray::RandomInit ( int  iseed  )  [private]

Definition at line 734 of file charray.cc.

void CCHArray::Randomize ( double  mag  ) 

Definition at line 752 of file charray.cc.

void CCHArray::Randomize ( double  mag,
int  ir 
)

Definition at line 738 of file charray.cc.

void CCHArray::RandomizeA ( double  mag  ) 

Definition at line 775 of file charray.cc.

void CCHArray::RandomizeA ( double  mag,
int  ir 
)

Definition at line 760 of file charray.cc.

void CCHArray::RandomizeA_Gaussian ( double  mag  ) 

Definition at line 798 of file charray.cc.

void CCHArray::RandomizeA_Gaussian ( double  mag,
int  ir 
)

Definition at line 783 of file charray.cc.

void CCHArray::ReadAllA ( string  dirname  ) 

Definition at line 412 of file charray.cc.

void CCHArray::ReadAX ( string  dirname  ) 

Definition at line 380 of file charray.cc.

void CCHArray::ScaleArray ( double  scalefactor,
int  ir 
)

Definition at line 175 of file charray.cc.

void CCHArray::ScaleArray ( double  scalefactor  ) 

Definition at line 164 of file charray.cc.

void CCHArray::SetElement ( int  lx,
int  ly,
int  lz,
double  r,
double  Element 
)

Definition at line 141 of file charray.cc.

void CCHArray::SetElement ( int  lx,
int  ly,
int  lz,
int  ir,
double  Element 
)

Definition at line 127 of file charray.cc.

void CCHArray::SetLMAX ( int  LMAXset  ) 

Definition at line 93 of file charray.cc.

void CCHArray::SetRADSTEP ( double  RADSTEPset  ) 

Definition at line 105 of file charray.cc.

void CCHArray::WriteAllA ( string  dirname  ) 

Definition at line 357 of file charray.cc.

void CCHArray::WriteAX ( string  dirname  ) 

Definition at line 334 of file charray.cc.

void CCHArray::WriteShort ( string  filename,
int  WLMAX 
)

Definition at line 819 of file charray.cc.

void CCHArray::ZeroArray ( int  ir  ) 

Definition at line 224 of file charray.cc.

void CCHArray::ZeroArray ( int  lx,
int  ly,
int  lz 
)

Definition at line 219 of file charray.cc.

void CCHArray::ZeroArray (  ) 

Definition at line 208 of file charray.cc.

void CCHArray::ZeroArray_Partial ( int  LMAX_Partial,
int  ir 
)

Definition at line 197 of file charray.cc.

void CCHArray::ZeroArray_Partial ( int  LMAX_Partial  ) 

Definition at line 186 of file charray.cc.


Member Data Documentation

double**** CCHArray::A [private]

Definition at line 119 of file arrays.h.

CCHCalc * CCHArray::chcalc = NULL [static]

Definition at line 111 of file arrays.h.

int CCHArray::dlx [private]

Definition at line 120 of file arrays.h.

int CCHArray::dly [private]

Definition at line 120 of file arrays.h.

int CCHArray::dlz [private]

Definition at line 120 of file arrays.h.

int CCHArray::LMAX [private]

Definition at line 118 of file arrays.h.

int CCHArray::NRADIAL [private]

Definition at line 117 of file arrays.h.

double CCHArray::RADSTEP [private]

Definition at line 116 of file arrays.h.

CRandom * CCHArray::randy = NULL [static, private]

Definition at line 114 of file arrays.h.

bool CCHArray::XSYM [private]

Definition at line 115 of file arrays.h.

bool CCHArray::YSYM [private]

Definition at line 115 of file arrays.h.

bool CCHArray::ZSYM [private]

Definition at line 115 of file arrays.h.


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

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