#include <histogram3d.h>
Public Member Functions | |
CHistogram3d (int Nx=0, int Ny=0, int Nz=0, double Dx=1., double Dy=1., double Dz=1., double xO=0.5, double yO=0.5, double zO=0.5) | |
CHistogram3d (const CHistogram3d &a) | |
bool | Read (const parameterMap &m) |
read to parameter map | |
bool | Write (parameterMap &m) |
write to parameter map | |
void | CopyState (const CHistogram3d &a) |
virtual double | getValueCart (double x, double y, double z) const |
virtual double | getValueSphr (double r, double theta, double phi) const |
virtual double | getErrorCart (double x, double y, double z) const |
virtual double | getErrorSphr (double r, double theta, double phi) const |
int | findBin (double x, double _dx, double _xoffset) const |
int | whatIndex (int ix, int iy, int iz) const |
bool | inThisBin (int ix, int iy, int iz, double x, double y, double z) const |
int | whatBin (double x, double y, double z) const |
double | midBinX (int ix) const |
double | midBinY (int iy) const |
double | midBinZ (int iz) const |
Array1D< double > | binCenter (int ix, int iy, int iz) const |
Array1D< double > | binCenter (int i) const |
double | leftBinEdgeX (int ix) const |
double | leftBinEdgeY (int iy) const |
double | leftBinEdgeZ (int iz) const |
double | rightBinEdgeX (int ix) const |
double | rightBinEdgeY (int iy) const |
double | rightBinEdgeZ (int iz) const |
int | flipBin (int i, int _izero) const |
int | flipBinX (int ix) const |
int | flipBinY (int iy) const |
int | flipBinZ (int iz) const |
double | binVolume (void) const |
Public Attributes | |
int | nx |
int | ny |
int | nz |
double | dx |
double | dy |
double | dz |
double | xoffset |
double | yoffset |
double | zoffset |
int | ixzero |
int | iyzero |
int | izzero |
Definition at line 14 of file histogram3d.h.
CHistogram3d::CHistogram3d | ( | int | Nx = 0 , |
|
int | Ny = 0 , |
|||
int | Nz = 0 , |
|||
double | Dx = 1. , |
|||
double | Dy = 1. , |
|||
double | Dz = 1. , |
|||
double | xO = 0.5 , |
|||
double | yO = 0.5 , |
|||
double | zO = 0.5 | |||
) |
Definition at line 5 of file histogram3d.cc.
CHistogram3d::CHistogram3d | ( | const CHistogram3d & | a | ) |
Definition at line 13 of file histogram3d.cc.
Array1D<double> CHistogram3d::binCenter | ( | int | i | ) | const [inline] |
Definition at line 56 of file histogram3d.h.
Array1D<double> CHistogram3d::binCenter | ( | int | ix, | |
int | iy, | |||
int | iz | |||
) | const [inline] |
Definition at line 54 of file histogram3d.h.
double CHistogram3d::binVolume | ( | void | ) | const [inline] |
Definition at line 75 of file histogram3d.h.
void CHistogram3d::CopyState | ( | const CHistogram3d & | a | ) |
Definition at line 21 of file histogram3d.cc.
int CHistogram3d::findBin | ( | double | x, | |
double | _dx, | |||
double | _xoffset | |||
) | const [inline] |
Definition at line 45 of file histogram3d.h.
int CHistogram3d::flipBin | ( | int | i, | |
int | _izero | |||
) | const [inline] |
Definition at line 69 of file histogram3d.h.
int CHistogram3d::flipBinX | ( | int | ix | ) | const [inline] |
Definition at line 70 of file histogram3d.h.
int CHistogram3d::flipBinY | ( | int | iy | ) | const [inline] |
Definition at line 71 of file histogram3d.h.
int CHistogram3d::flipBinZ | ( | int | iz | ) | const [inline] |
Definition at line 72 of file histogram3d.h.
double CHistogram3d::getErrorCart | ( | double | x, | |
double | y, | |||
double | z | |||
) | const [virtual] |
virtual double CHistogram3d::getErrorSphr | ( | double | r, | |
double | theta, | |||
double | phi | |||
) | const [inline, virtual] |
double CHistogram3d::getValueCart | ( | double | x, | |
double | y, | |||
double | z | |||
) | const [virtual] |
virtual double CHistogram3d::getValueSphr | ( | double | r, | |
double | theta, | |||
double | phi | |||
) | const [inline, virtual] |
bool CHistogram3d::inThisBin | ( | int | ix, | |
int | iy, | |||
int | iz, | |||
double | x, | |||
double | y, | |||
double | z | |||
) | const |
Definition at line 31 of file histogram3d.cc.
double CHistogram3d::leftBinEdgeX | ( | int | ix | ) | const [inline] |
Definition at line 60 of file histogram3d.h.
double CHistogram3d::leftBinEdgeY | ( | int | iy | ) | const [inline] |
Definition at line 61 of file histogram3d.h.
double CHistogram3d::leftBinEdgeZ | ( | int | iz | ) | const [inline] |
Definition at line 62 of file histogram3d.h.
double CHistogram3d::midBinX | ( | int | ix | ) | const [inline] |
Definition at line 51 of file histogram3d.h.
double CHistogram3d::midBinY | ( | int | iy | ) | const [inline] |
Definition at line 52 of file histogram3d.h.
double CHistogram3d::midBinZ | ( | int | iz | ) | const [inline] |
Definition at line 53 of file histogram3d.h.
bool CHistogram3d::Read | ( | const parameterMap & | com | ) |
Reimplemented from CDataSet.
Reimplemented in CCorrFtn3dHisto, CPairDistribution3dHisto, and CSourceFtn3dHisto.
Definition at line 56 of file histogram3d.cc.
double CHistogram3d::rightBinEdgeX | ( | int | ix | ) | const [inline] |
Definition at line 64 of file histogram3d.h.
double CHistogram3d::rightBinEdgeY | ( | int | iy | ) | const [inline] |
Definition at line 65 of file histogram3d.h.
double CHistogram3d::rightBinEdgeZ | ( | int | iz | ) | const [inline] |
Definition at line 66 of file histogram3d.h.
int CHistogram3d::whatBin | ( | double | x, | |
double | y, | |||
double | z | |||
) | const |
Definition at line 35 of file histogram3d.cc.
int CHistogram3d::whatIndex | ( | int | ix, | |
int | iy, | |||
int | iz | |||
) | const [inline] |
Definition at line 46 of file histogram3d.h.
bool CHistogram3d::Write | ( | parameterMap & | com | ) |
Reimplemented from CDataSet.
Reimplemented in CCorrFtn3dHisto, CPairDistribution3dHisto, and CSourceFtn3dHisto.
Definition at line 84 of file histogram3d.cc.
double CHistogram3d::dx |
Definition at line 19 of file histogram3d.h.
double CHistogram3d::dy |
Definition at line 19 of file histogram3d.h.
double CHistogram3d::dz |
Definition at line 19 of file histogram3d.h.
Definition at line 21 of file histogram3d.h.
Definition at line 21 of file histogram3d.h.
Definition at line 21 of file histogram3d.h.
int CHistogram3d::nx |
Definition at line 18 of file histogram3d.h.
int CHistogram3d::ny |
Definition at line 18 of file histogram3d.h.
int CHistogram3d::nz |
Definition at line 18 of file histogram3d.h.
double CHistogram3d::xoffset |
Definition at line 20 of file histogram3d.h.
double CHistogram3d::yoffset |
Definition at line 20 of file histogram3d.h.
double CHistogram3d::zoffset |
Definition at line 20 of file histogram3d.h.