#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 |
|
inline |
Definition at line 33 of file Grid1D.h.
References b, lower(), and stepinv_.
Referenced by MFGrid3D::index(), LinearGridInterpolator3D::interpolate(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
|
inline |
|
inline |
Definition at line 21 of file Grid1D.h.
References lower_.
Referenced by closestNode(), RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), index(), node(), LinearGridInterpolator3D::throwGridInterpolator3DException(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 26 of file Grid1D.h.
References lower(), and step().
Referenced by Grid3D::dump(), LinearGridInterpolator3D::interpolate(), MFGrid3D::nodePosition(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 23 of file Grid1D.h.
References edges_.
Referenced by closestNode(), MFGrid3D::dimensions(), RectangularCylindricalMFGrid::dump(), RectangularCartesianMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), Grid3D::dump(), Grid3D::Grid3D(), and LinearGridInterpolator3D::interpolate().
|
inline |
Definition at line 40 of file Grid1D.h.
References edges_.
Referenced by LinearGridInterpolator3D::interpolate().
|
inline |
Definition at line 20 of file Grid1D.h.
References stepinv_.
Referenced by closestNode(), RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), index(), node(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 22 of file Grid1D.h.
References upper_.
Referenced by LinearGridInterpolator3D::throwGridInterpolator3DException(), and TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid().
|
private |
|
private |