GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
genie::BLI2DGrid Class Referenceabstract

#include <BLI2D.h>

Inheritance diagram for genie::BLI2DGrid:
Inheritance graph
[legend]
Collaboration diagram for genie::BLI2DGrid:
Collaboration graph
[legend]

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

BLI2DGrid::BLI2DGrid ( )

Definition at line 24 of file BLI2D.cxx.

25 {
26 
27 }
BLI2DGrid::~BLI2DGrid ( )
virtual

Definition at line 29 of file BLI2D.cxx.

References fX, fY, and fZ.

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
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.

References fXmax.

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

Definition at line 41 of file BLI2D.h.

References fXmin.

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

Definition at line 44 of file BLI2D.h.

References fYmax.

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

Definition at line 43 of file BLI2D.h.

References fYmin.

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

Definition at line 46 of file BLI2D.h.

References fZmax.

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

Definition at line 45 of file BLI2D.h.

References fZmin.

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

Member Data Documentation

double genie::BLI2DGrid::fDX
protected
double genie::BLI2DGrid::fDY
protected
int genie::BLI2DGrid::fNX
protected
int genie::BLI2DGrid::fNY
protected
int genie::BLI2DGrid::fNZ
protected

Definition at line 56 of file BLI2D.h.

Referenced by genie::BLI2DUnifGrid::Init(), and genie::BLI2DNonUnifGrid::Init().

double* genie::BLI2DGrid::fX
protected
double genie::BLI2DGrid::fXmax
protected
double genie::BLI2DGrid::fXmin
protected
double* genie::BLI2DGrid::fY
protected
double genie::BLI2DGrid::fYmax
protected
double genie::BLI2DGrid::fYmin
protected
double* genie::BLI2DGrid::fZ
protected
double genie::BLI2DGrid::fZmax
protected
double genie::BLI2DGrid::fZmin
protected

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