23 tmp.w = grid_.grida().nodes();
24 tmp.h = grid_.gridb().nodes();
25 tmp.d = grid_.gridc().nodes();
31 return fromGridFrame(grid_.grida().node(
i), grid_.gridb().node(
j), grid_.gridc().node(
k));
44 result.i = grid_.grida().index(
a);
45 result.j = grid_.gridb().index(
b);
46 result.k = grid_.gridc().index(
c);
MFGrid3D(const GloballyPositioned< float > &vol)
LocalVector nodeValue(int i, int j, int k) const override
Field value at node.
Dimensions dimensions(void) const override
GloballyPositioned< float >::LocalPoint LocalPoint
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 fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.
GloballyPositioned< float >::LocalVector LocalVector
LocalPoint nodePosition(int i, int j, int k) const override
Position of node in local frame.
Indexes index(const LocalPoint &p) const override
void setGrid(const GridType &grid)