#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) const |
returns valid index, or -1 if the value is outside range +/- one cell. More... | |
int | index (Scalar a, Scalar &f) const |
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 |
|
inline |
|
inline |
returns valid index, or -1 if the value is outside range +/- one cell.
Definition at line 54 of file Grid1D.h.
References a, cells, SiStripPI::max, and min().
Referenced by BeautifulSoup.PageElement::insert().
|
inline |
|
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.
References mps_fire::i.
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().