42 : grida_(ga), gridb_(gb), gridc_(gc) {
44 stride1_ = gridb_.nodes() * gridc_.nodes();
45 stride2_ = gridc_.nodes();
51 int index(
int i,
int j,
int k)
const {
return i * stride1_ +
j * stride2_ +
k; }
const Container & data() const
const Grid1D & grida() const
Basic3DVector< Scalar > ValueType
std::vector< BVector > Container
ValueType
Type of the value held by a Value object.
int index(int i, int j, int k) const
const Grid1D & gridb() const
const Grid1D & gridc() const
Grid3D(const Grid1D &ga, const Grid1D &gb, const Grid1D &gc, std::vector< BVector > &data)
char data[epos_bytes_allocation]
BStorageArray(float x, float y, float z)
float const & operator[](int i) const
ValueType operator()(int i, int j, int k) const
ValueType operator()(int i) const