#include <arrays.h>
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 CCHCalc * | chcalc = 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 CRandom * | randy = NULL |
Definition at line 15 of file arrays.h.
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.
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.
double**** CCHArray::A [private] |
CCHCalc * CCHArray::chcalc = NULL [static] |
int CCHArray::dlx [private] |
int CCHArray::dly [private] |
int CCHArray::dlz [private] |
int CCHArray::LMAX [private] |
int CCHArray::NRADIAL [private] |
double CCHArray::RADSTEP [private] |
CRandom * CCHArray::randy = NULL [static, private] |
bool CCHArray::XSYM [private] |
bool CCHArray::YSYM [private] |
bool CCHArray::ZSYM [private] |