#include <Grid1D.h>
Public Types | |
typedef float | Scalar |
Public Member Functions | |
int | cells () const |
Scalar | closestNode (Scalar a) const |
Grid1D () | |
Grid1D (Scalar lower, Scalar upper, int nodes) | |
int | index (Scalar a, Scalar &f) const |
int | index (Scalar a) const |
returns valid index, or -1 if the value is outside range +/- one cell. More... | |
bool | inRange (int i) const |
Scalar | lower () const |
Scalar | node (int i) const |
int | nodes () const |
void | normalize (int &ind, Scalar &f) const |
Scalar | step () const |
Scalar | upper () const |
Private Attributes | |
int | edges_ |
Scalar | lower_ |
Scalar | stepinv_ |
Scalar | upper_ |
typedef float Grid1D::Scalar |
Definition at line 46 of file Grid1D.h.
References b, c, validate-o2o-wbm::f, SiStripPI::max, SiStripPI::min, class-composition::nodes, and createJobs::tmp.
Definition at line 29 of file Grid1D.h.
References b.
Referenced by BeautifulSoup.PageElement::_invert(), LinearGridInterpolator3D::interpolate(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
returns valid index, or -1 if the value is outside range +/- one cell.
Definition at line 54 of file Grid1D.h.
References cells, SiStripPI::max, and SiStripPI::min.
Referenced by BeautifulSoup.PageElement::_invert().
|
inline |
Definition at line 19 of file Grid1D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), LinearGridInterpolator3D::throwGridInterpolator3DException(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 24 of file Grid1D.h.
Referenced by Grid3D::dump(), LinearGridInterpolator3D::interpolate(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 21 of file Grid1D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), Grid3D::dump(), and LinearGridInterpolator3D::interpolate().
|
inline |
|
inline |
Definition at line 18 of file Grid1D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 20 of file Grid1D.h.
Referenced by LinearGridInterpolator3D::throwGridInterpolator3DException(), and TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid().