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