C3DArray Class Reference

#include <arrays.h>

Collaboration diagram for C3DArray:
[legend]

List of all members.

Public Member Functions

 C3DArray (string arrayparsfilename)
 C3DArray (int NXYZMAX, double DELXYZ, bool XSYM, bool YSYM, bool ZSYM)
 C3DArray (int NXMAX, double DELX, int NYMAX, double DELY, int NZMAX, double DELZ, bool XSYM, bool YSYM, bool ZSYM)
 ~C3DArray ()
int GetNXMAX ()
int GetNYMAX ()
int GetNZMAX ()
double GetDELX ()
double GetDELY ()
double GetDELZ ()
bool GetXSYM ()
bool GetYSYM ()
bool GetZSYM ()
void PrintPars ()
double GetElement (double x, double y, double z)
double GetElement_NoInterpolation (double x, double y, double z)
double GetElement (int isx, int ix, int isy, int iy, int isz, int iz)
void SetElement (int isx, int ix, int isy, int iy, int isz, int iz, double value)
void IncrementElement (int isx, int ix, int isy, int iy, int isz, int iz, double value)
void SetElement (double x, double y, double z, double value)
void IncrementElement (double x, double y, double z, double increment)
void CalcMoments (double roff[3], double r2[3][3])
void PrintMoments ()
void ZeroArray ()
void MakeConstant (double c)
void ScaleArray (double scalefactor)
void Randomize (double c)
void RandomizeGaussian (double c)
void PrintArray ()
void PrintProjections ()
double GetBiggest ()
void ReadArray (string dirname)
void WriteArray (string dirname)

Private Member Functions

void ReadPars (string arrayparsfilename)
void CreateArray ()
void DeleteArray ()

Private Attributes

bool XSYM
bool YSYM
bool ZSYM
double DELX
double DELY
double DELZ
int NXMAX
int NYMAX
int NZMAX
double ****** F

Static Private Attributes

static CRandomrandy = NULL


Detailed Description

Definition at line 126 of file arrays.h.


Constructor & Destructor Documentation

C3DArray::C3DArray ( string  arrayparsfilename  ) 

Definition at line 9 of file threed.cc.

C3DArray::C3DArray ( int  NXYZMAX,
double  DELXYZ,
bool  XSYM,
bool  YSYM,
bool  ZSYM 
)

Definition at line 60 of file threed.cc.

C3DArray::C3DArray ( int  NXMAX,
double  DELX,
int  NYMAX,
double  DELY,
int  NZMAX,
double  DELZ,
bool  XSYM,
bool  YSYM,
bool  ZSYM 
)

Definition at line 45 of file threed.cc.

C3DArray::~C3DArray (  ) 

Definition at line 100 of file threed.cc.


Member Function Documentation

void C3DArray::CalcMoments ( double  roff[3],
double  r2[3][3] 
)

Definition at line 600 of file threed.cc.

void C3DArray::CreateArray (  )  [private]

Definition at line 74 of file threed.cc.

void C3DArray::DeleteArray (  )  [private]

Definition at line 104 of file threed.cc.

double C3DArray::GetBiggest (  ) 

Definition at line 440 of file threed.cc.

double C3DArray::GetDELX (  ) 

Definition at line 328 of file threed.cc.

double C3DArray::GetDELY (  ) 

Definition at line 332 of file threed.cc.

double C3DArray::GetDELZ (  ) 

Definition at line 336 of file threed.cc.

double C3DArray::GetElement ( int  isx,
int  ix,
int  isy,
int  iy,
int  isz,
int  iz 
)

Definition at line 181 of file threed.cc.

double C3DArray::GetElement ( double  x,
double  y,
double  z 
)

Definition at line 214 of file threed.cc.

double C3DArray::GetElement_NoInterpolation ( double  x,
double  y,
double  z 
)

Definition at line 193 of file threed.cc.

int C3DArray::GetNXMAX (  ) 

Definition at line 316 of file threed.cc.

int C3DArray::GetNYMAX (  ) 

Definition at line 320 of file threed.cc.

int C3DArray::GetNZMAX (  ) 

Definition at line 324 of file threed.cc.

bool C3DArray::GetXSYM (  ) 

Definition at line 128 of file threed.cc.

bool C3DArray::GetYSYM (  ) 

Definition at line 132 of file threed.cc.

bool C3DArray::GetZSYM (  ) 

Definition at line 136 of file threed.cc.

void C3DArray::IncrementElement ( double  x,
double  y,
double  z,
double  increment 
)

Definition at line 298 of file threed.cc.

void C3DArray::IncrementElement ( int  isx,
int  ix,
int  isy,
int  iy,
int  isz,
int  iz,
double  value 
)

Definition at line 189 of file threed.cc.

void C3DArray::MakeConstant ( double  c  ) 

Definition at line 510 of file threed.cc.

void C3DArray::PrintArray (  ) 

void C3DArray::PrintMoments (  ) 

Definition at line 658 of file threed.cc.

void C3DArray::PrintPars (  ) 

Definition at line 340 of file threed.cc.

void C3DArray::PrintProjections (  ) 

Definition at line 531 of file threed.cc.

void C3DArray::Randomize ( double  c  ) 

Definition at line 464 of file threed.cc.

void C3DArray::RandomizeGaussian ( double  c  ) 

Definition at line 487 of file threed.cc.

void C3DArray::ReadArray ( string  dirname  ) 

Definition at line 396 of file threed.cc.

void C3DArray::ReadPars ( string  arrayparsfilename  )  [private]

Definition at line 18 of file threed.cc.

void C3DArray::ScaleArray ( double  scalefactor  ) 

Definition at line 161 of file threed.cc.

void C3DArray::SetElement ( double  x,
double  y,
double  z,
double  value 
)

Definition at line 280 of file threed.cc.

void C3DArray::SetElement ( int  isx,
int  ix,
int  isy,
int  iy,
int  isz,
int  iz,
double  value 
)

Definition at line 185 of file threed.cc.

void C3DArray::WriteArray ( string  dirname  ) 

Definition at line 348 of file threed.cc.

void C3DArray::ZeroArray (  ) 

Definition at line 140 of file threed.cc.


Member Data Documentation

double C3DArray::DELX [private]

Definition at line 173 of file arrays.h.

double C3DArray::DELY [private]

Definition at line 173 of file arrays.h.

double C3DArray::DELZ [private]

Definition at line 173 of file arrays.h.

double****** C3DArray::F [private]

Definition at line 175 of file arrays.h.

int C3DArray::NXMAX [private]

Definition at line 174 of file arrays.h.

int C3DArray::NYMAX [private]

Definition at line 174 of file arrays.h.

int C3DArray::NZMAX [private]

Definition at line 174 of file arrays.h.

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

Definition at line 179 of file arrays.h.

bool C3DArray::XSYM [private]

Definition at line 172 of file arrays.h.

bool C3DArray::YSYM [private]

Definition at line 172 of file arrays.h.

bool C3DArray::ZSYM [private]

Definition at line 172 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