Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
genie::BLI2DGrid Class Referenceabstract

#include <BLI2D.h>

Inheritance diagram for genie::BLI2DGrid:
genie::BLI2DNonUnifGrid genie::BLI2DUnifGrid

Public Member Functions

 BLI2DGrid ()
 
virtual ~BLI2DGrid ()
 
virtual bool AddPoint (double x, double y, double z)=0
 
virtual double Evaluate (double x, double y) const =0
 
double XMin (void) const
 
double XMax (void) const
 
double YMin (void) const
 
double YMax (void) const
 
double ZMin (void) const
 
double ZMax (void) const
 

Protected Member Functions

virtual void Init (int nx, double xmin, double xmax, int ny, double ymin, double ymax)=0
 
int IdxZ (int ix, int iy) const
 

Protected Attributes

int fNX
 
int fNY
 
int fNZ
 
double * fX
 
double * fY
 
double * fZ
 
double fDX
 
double fDY
 
double fXmin
 
double fXmax
 
double fYmin
 
double fYmax
 
double fZmin
 
double fZmax
 

Detailed Description

Definition at line 25 of file BLI2D.h.

Constructor & Destructor Documentation

genie::BLI2DGrid::BLI2DGrid ( )
BLI2DGrid::~BLI2DGrid ( )
virtual

Definition at line 29 of file BLI2D.cxx.

30 {
31  if (fX) { delete [] fX; }
32  if (fY) { delete [] fY; }
33  if (fZ) { delete [] fZ; }
34 }
double * fY
Definition: BLI2D.h:58
double * fX
Definition: BLI2D.h:57
double * fZ
Definition: BLI2D.h:59

Member Function Documentation

virtual bool genie::BLI2DGrid::AddPoint ( double  x,
double  y,
double  z 
)
pure virtual
virtual double genie::BLI2DGrid::Evaluate ( double  x,
double  y 
) const
pure virtual
int BLI2DGrid::IdxZ ( int  ix,
int  iy 
) const
protected

Definition at line 36 of file BLI2D.cxx.

37 {
38  return ix*fNY+iy;
39 }
virtual void genie::BLI2DGrid::Init ( int  nx,
double  xmin,
double  xmax,
int  ny,
double  ymin,
double  ymax 
)
protectedpure virtual
double genie::BLI2DGrid::XMax ( void  ) const
inline

Definition at line 42 of file BLI2D.h.

42 { return fXmax; }
double fXmax
Definition: BLI2D.h:63
double genie::BLI2DGrid::XMin ( void  ) const
inline

Definition at line 41 of file BLI2D.h.

41 { return fXmin; }
double fXmin
Definition: BLI2D.h:62
double genie::BLI2DGrid::YMax ( void  ) const
inline

Definition at line 44 of file BLI2D.h.

44 { return fYmax; }
double fYmax
Definition: BLI2D.h:65
double genie::BLI2DGrid::YMin ( void  ) const
inline

Definition at line 43 of file BLI2D.h.

43 { return fYmin; }
double fYmin
Definition: BLI2D.h:64
double genie::BLI2DGrid::ZMax ( void  ) const
inline

Definition at line 46 of file BLI2D.h.

46 { return fZmax; }
double fZmax
Definition: BLI2D.h:67
double genie::BLI2DGrid::ZMin ( void  ) const
inline

Definition at line 45 of file BLI2D.h.

45 { return fZmin; }
double fZmin
Definition: BLI2D.h:66

Member Data Documentation

double genie::BLI2DGrid::fDX
protected

Definition at line 60 of file BLI2D.h.

double genie::BLI2DGrid::fDY
protected

Definition at line 61 of file BLI2D.h.

int genie::BLI2DGrid::fNX
protected

Definition at line 54 of file BLI2D.h.

int genie::BLI2DGrid::fNY
protected

Definition at line 55 of file BLI2D.h.

int genie::BLI2DGrid::fNZ
protected

Definition at line 56 of file BLI2D.h.

double* genie::BLI2DGrid::fX
protected

Definition at line 57 of file BLI2D.h.

double genie::BLI2DGrid::fXmax
protected

Definition at line 63 of file BLI2D.h.

double genie::BLI2DGrid::fXmin
protected

Definition at line 62 of file BLI2D.h.

double* genie::BLI2DGrid::fY
protected

Definition at line 58 of file BLI2D.h.

double genie::BLI2DGrid::fYmax
protected

Definition at line 65 of file BLI2D.h.

double genie::BLI2DGrid::fYmin
protected

Definition at line 64 of file BLI2D.h.

double* genie::BLI2DGrid::fZ
protected

Definition at line 59 of file BLI2D.h.

double genie::BLI2DGrid::fZmax
protected

Definition at line 67 of file BLI2D.h.

double genie::BLI2DGrid::fZmin
protected

Definition at line 66 of file BLI2D.h.


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