1#ifndef CLASSIC_FIELDMAP3DMAGNETOSTATIC_HH
2#define CLASSIC_FIELDMAP3DMAGNETOSTATIC_HH
13 virtual void getFieldDimensions(
double &xIni,
double &xFinal,
double &yIni,
double &yFinal,
double &zIni,
double &zFinal)
const;
43 unsigned long getIndex(
unsigned int i,
unsigned int j,
unsigned int k)
const;
45 double getWeightedData(
double *data,
const IndexTriplet &idx,
unsigned short corner)
const;
std::shared_ptr< _FM3DMagnetoStatic > FM3DMagnetoStatic
PETE_TUTree< FnFloor, typename T::PETE_Expr_t > floor(const PETE_Expr< T > &l)
unsigned int num_gridpx_m
Read in number of points after 0(not counted here) in grid, r-direction.
double getWeightedData(double *data, const IndexTriplet &idx, unsigned short corner) const
double hz_m
length between points in grid, z-direction
virtual ~_FM3DMagnetoStatic()
IndexTriplet getIndex(const Vector_t &X) const
double * FieldstrengthBx_m
3D array with Bx
double * FieldstrengthBy_m
3D array with By
unsigned int num_gridpz_m
Read in number of points after 0(not counted here) in grid, z-direction.
virtual void setFrequency(double freq)
unsigned int num_gridpy_m
Read in number of points after 0(not counted here) in grid, r-direction.
virtual void getInfo(Inform *msg)
double hx_m
length between points in grid, x-direction
virtual double getFrequency() const
static FM3DMagnetoStatic create(const std::string &filename)
_FM3DMagnetoStatic(const std::string &filename)
virtual bool getFieldstrength(const Vector_t &R, Vector_t &E, Vector_t &B) const
double hy_m
length between points in grid, y-direction
virtual bool isInside(const Vector_t &r) const
double * FieldstrengthBz_m
3D array with Bz
virtual void getFieldDimensions(double &zBegin, double &zEnd) const
virtual bool getFieldDerivative(const Vector_t &R, Vector_t &E, Vector_t &B, const DiffDirection &dir) const
Vector_t interpolateTrilinearly(const Vector_t &X) const