Go to the documentation of this file.
12 theSectorGrid(sectorGrid)
28 double c =
cos(phiRot);
29 double s =
sin(phiRot);
30 double xrot =
p.x() *
c +
p.y() *
s;
31 double yrot = -
p.x() *
s +
p.y() *
c;
42 std::cout <<
"Throwing exception " << message << std::endl;
LocalVector nodeValue(int i, int j, int k) const override
Field value at node.
LocalPoint nodePosition(int i, int j, int k) const override
Position of node in local frame.
void toGridFrame(const LocalPoint &p, double &a, double &b, double &c) const override
find grid coordinates for point. For debugging and validation only.
LocalVector valueInTesla(const LocalPoint &p) const override
Interpolated field value at given point.
Dimensions dimensions() const override
GloballyPositioned< float >::LocalVector LocalVector
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
GloballyPositioned< float >::LocalPoint LocalPoint
void throwUp(const char *message) const
~CylinderFromSectorMFGrid() override
virtual Dimensions dimensions() const =0
LocalVector valueInTesla(const LocalPoint &p) const override=0
Interpolated field value at given point.
LocalPoint fromGridFrame(double a, double b, double c) const override
find grid coordinates for point. For debugging and validation only.
CylinderFromSectorMFGrid(const GloballyPositioned< float > &vol, double phiMin, double phiMax, MFGrid *sectorGrid)