27 tmp.
w = grid_.grida().nodes();
28 tmp.
h = grid_.gridb().nodes();
29 tmp.
d = grid_.gridc().nodes();
35 return fromGridFrame( grid_.grida().node(i), grid_.gridb().node(j), grid_.gridc().node(k));
48 result.
i = grid_.grida().index(a);
49 result.
j = grid_.gridb().index(b);
50 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)