#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 53 of file Grid1D.h.
References b, trackerHits::c, f, max(), bookConverter::min, relval_parameters_module::step, and tmp.
Definition at line 34 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 61 of file Grid1D.h.
References max(), bookConverter::min, and relval_parameters_module::step.
Referenced by BeautifulSoup.PageElement::_invert().
|
inline |
Definition at line 22 of file Grid1D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), LinearGridInterpolator3D::throwGridInterpolator3DException(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 27 of file Grid1D.h.
References relval_parameters_module::step.
Referenced by Grid3D::dump(), LinearGridInterpolator3D::interpolate(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 24 of file Grid1D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), Grid3D::dump(), and LinearGridInterpolator3D::interpolate().
|
inline |
|
inline |
Definition at line 21 of file Grid1D.h.
Referenced by RectangularCartesianMFGrid::dump(), RectangularCylindricalMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Definition at line 23 of file Grid1D.h.
Referenced by LinearGridInterpolator3D::throwGridInterpolator3DException(), and TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid().