GENIEGenerator
|
Bilinear interpolation of 2D functions on a regular grid. More...
#include <BLI2D.h>
Public Member Functions | |
BLI2DUnifGrid () | |
BLI2DUnifGrid (int nx, double xmin, double xmax, int ny, double ymin, double ymax) | |
BLI2DUnifGrid (int nx, int ny, double *x, double *y, double *z) | |
bool | AddPoint (double x, double y, double z) |
double | Evaluate (double x, double y) const |
Public Member Functions inherited from genie::BLI2DGrid | |
BLI2DGrid () | |
virtual | ~BLI2DGrid () |
double | XMin (void) const |
double | XMax (void) const |
double | YMin (void) const |
double | YMax (void) const |
double | ZMin (void) const |
double | ZMax (void) const |
Private Member Functions | |
void | Init (int nx=0, double xmin=0, double xmax=0, int ny=0, double ymin=0, double ymax=0) |
Additional Inherited Members | |
Protected Member Functions inherited from genie::BLI2DGrid | |
int | IdxZ (int ix, int iy) const |
Protected Attributes inherited from genie::BLI2DGrid | |
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 |
Bilinear interpolation of 2D functions on a regular grid.
BLI2DUnifGrid::BLI2DUnifGrid | ( | ) |
Definition at line 45 of file BLI2D.cxx.
References Init().
BLI2DUnifGrid::BLI2DUnifGrid | ( | int | nx, |
double | xmin, | ||
double | xmax, | ||
int | ny, | ||
double | ymin, | ||
double | ymax | ||
) |
Definition at line 50 of file BLI2D.cxx.
References Init().
BLI2DUnifGrid::BLI2DUnifGrid | ( | int | nx, |
int | ny, | ||
double * | x, | ||
double * | y, | ||
double * | z | ||
) |
Definition at line 56 of file BLI2D.cxx.
References AddPoint(), genie::BLI2DGrid::IdxZ(), and Init().
|
virtual |
Implements genie::BLI2DGrid.
Definition at line 73 of file BLI2D.cxx.
References genie::BLI2DGrid::fDX, genie::BLI2DGrid::fDY, genie::BLI2DGrid::fXmin, genie::BLI2DGrid::fYmin, genie::BLI2DGrid::fZ, genie::BLI2DGrid::fZmax, genie::BLI2DGrid::fZmin, genie::BLI2DGrid::IdxZ(), LOG, and pDEBUG.
Referenced by BLI2DUnifGrid(), and main().
|
virtual |
Implements genie::BLI2DGrid.
Definition at line 92 of file BLI2D.cxx.
References genie::BLI2DGrid::fDX, genie::BLI2DGrid::fDY, genie::BLI2DGrid::fX, genie::BLI2DGrid::fXmax, genie::BLI2DGrid::fXmin, genie::BLI2DGrid::fY, genie::BLI2DGrid::fYmax, genie::BLI2DGrid::fYmin, genie::BLI2DGrid::fZ, and genie::BLI2DGrid::IdxZ().
Referenced by main().
|
privatevirtual |
Implements genie::BLI2DGrid.
Definition at line 130 of file BLI2D.cxx.
References genie::BLI2DGrid::fDX, genie::BLI2DGrid::fDY, genie::BLI2DGrid::fNX, genie::BLI2DGrid::fNY, genie::BLI2DGrid::fNZ, genie::BLI2DGrid::fX, genie::BLI2DGrid::fXmax, genie::BLI2DGrid::fXmin, genie::BLI2DGrid::fY, genie::BLI2DGrid::fYmax, genie::BLI2DGrid::fYmin, genie::BLI2DGrid::fZ, genie::BLI2DGrid::fZmax, and genie::BLI2DGrid::fZmin.
Referenced by BLI2DUnifGrid().