#include <Grid3D.h>
Public Types | |
typedef ValueType | ReturnType |
typedef float | Scalar |
typedef Basic3DVector< Scalar > | ValueType |
Public Member Functions | |
const std::vector< ValueType > & | data () const |
void | dump () const |
Grid3D (const Grid1D &ga, const Grid1D &gb, const Grid1D &gc, std::vector< ValueType > &data) | |
Grid3D () | |
const Grid1D & | grida () const |
const Grid1D & | gridb () const |
const Grid1D & | gridc () const |
int | index (int i, int j, int k) const |
ValueType const & | operator() (int i, int j, int k) const |
const ValueType & | operator() (int i) const |
int | stride1 () const |
int | stride2 () const |
int | stride3 () const |
Private Attributes | |
std::vector< ValueType > | data_ |
Grid1D | grida_ |
Grid1D | gridb_ |
Grid1D | gridc_ |
int | stride1_ |
int | stride2_ |
typedef ValueType Grid3D::ReturnType |
typedef float Grid3D::Scalar |
typedef Basic3DVector<Scalar> Grid3D::ValueType |
const std::vector<ValueType>& Grid3D::data | ( | ) | const [inline] |
Definition at line 56 of file Grid3D.h.
Referenced by RectangularCylindricalMFGrid::dump(), RectangularCartesianMFGrid::dump(), and TrapezoidalCartesianMFGrid::dump().
{return data_;}
void Grid3D::dump | ( | void | ) | const |
Definition at line 18 of file Grid3D.cc.
References gather_cfg::cout, grida(), gridb(), gridc(), i, j, gen::k, Grid1D::node(), Grid1D::nodes(), and operator()().
const Grid1D& Grid3D::grida | ( | ) | const [inline] |
Definition at line 52 of file Grid3D.h.
Referenced by RectangularCylindricalMFGrid::dump(), dump(), RectangularCartesianMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
{return grida_;}
const Grid1D& Grid3D::gridb | ( | ) | const [inline] |
Definition at line 53 of file Grid3D.h.
Referenced by RectangularCylindricalMFGrid::dump(), dump(), RectangularCartesianMFGrid::dump(), and TrapezoidalCartesianMFGrid::dump().
{return gridb_;}
const Grid1D& Grid3D::gridc | ( | ) | const [inline] |
Definition at line 54 of file Grid3D.h.
Referenced by RectangularCylindricalMFGrid::dump(), dump(), RectangularCartesianMFGrid::dump(), TrapezoidalCartesianMFGrid::dump(), and RectangularCylindricalMFGrid::uncheckedValueInTesla().
{return gridc_;}
int Grid3D::index | ( | int | i, |
int | j, | ||
int | k | ||
) | const [inline] |
const ValueType& Grid3D::operator() | ( | int | i | ) | const [inline] |
ValueType const& Grid3D::operator() | ( | int | i, |
int | j, | ||
int | k | ||
) | const [inline] |
int Grid3D::stride1 | ( | ) | const [inline] |
Definition at line 41 of file Grid3D.h.
Referenced by LinearGridInterpolator3D::interpolate().
{ return stride1_;}
int Grid3D::stride2 | ( | ) | const [inline] |
Definition at line 42 of file Grid3D.h.
Referenced by LinearGridInterpolator3D::interpolate().
{ return stride2_;}
int Grid3D::stride3 | ( | ) | const [inline] |
Definition at line 43 of file Grid3D.h.
Referenced by LinearGridInterpolator3D::interpolate().
{ return 1;}
std::vector<ValueType> Grid3D::data_ [private] |
Grid1D Grid3D::grida_ [private] |
Grid1D Grid3D::gridb_ [private] |
Grid1D Grid3D::gridc_ [private] |
int Grid3D::stride1_ [private] |
int Grid3D::stride2_ [private] |