25 tmp.
w = grid_.grida().nodes();
26 tmp.
h = grid_.gridb().nodes();
27 tmp.
d = grid_.gridc().nodes();
33 return fromGridFrame( grid_.grida().node(i), grid_.gridb().node(j), grid_.gridc().node(k));
46 result.
i = grid_.grida().index(a);
47 result.
j = grid_.gridb().index(b);
48 result.
k = grid_.gridc().index(c);
virtual Indexes index(const LocalPoint &p) const
MFGrid3D(const GloballyPositioned< float > &vol)
GloballyPositioned< float >::LocalPoint LocalPoint
virtual LocalVector nodeValue(int i, int j, int k) const
Field value at node.
virtual void toGridFrame(const LocalPoint &p, double &a, double &b, double &c) const =0
find grid coordinates for point. For debugging and validation only.
virtual LocalPoint nodePosition(int i, int j, int k) const
Position of node in local frame.
virtual LocalPoint fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
virtual LocalVector valueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point.
virtual Dimensions dimensions(void) const
GloballyPositioned< float >::LocalVector LocalVector
std::vector< std::vector< double > > tmp
void setGrid(const GridType &grid)