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