Go to the documentation of this file.
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);
Indexes index(const LocalPoint &p) const override
GloballyPositioned< float >::LocalVector LocalVector
void setGrid(const GridType &grid)
LocalPoint nodePosition(int i, int j, int k) const override
Position of node in local frame.
LocalVector nodeValue(int i, int j, int k) const override
Field value at node.
GloballyPositioned< float >::LocalPoint LocalPoint
MFGrid3D(const GloballyPositioned< float > &vol)
virtual LocalPoint fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
virtual void toGridFrame(const LocalPoint &p, double &a, double &b, double &c) const =0
find grid coordinates for point. For debugging and validation only.
Dimensions dimensions(void) const override
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.