1#ifndef CLASSIC_FIELDMAP2DELECTROSTATIC_HH
2#define CLASSIC_FIELDMAP2DELECTROSTATIC_HH
13 virtual void getFieldDimensions(
double &xIni,
double &xFinal,
double &yIni,
double &yFinal,
double &zIni,
double &zFinal)
const;
std::shared_ptr< _FM2DElectroStatic > FM2DElectroStatic
Tps< T > sqrt(const Tps< T > &x)
Square root.
virtual void getInfo(Inform *msg)
_FM2DElectroStatic(const std::string &filename)
virtual bool getFieldstrength(const Vector_t &R, Vector_t &E, Vector_t &B) const
virtual bool getFieldDerivative(const Vector_t &R, Vector_t &E, Vector_t &B, const DiffDirection &dir) const
int num_gridpr_m
Read in number of points after 0(not counted here) in grid, r-direction.
virtual ~_FM2DElectroStatic()
double hr_m
length between points in grid, r-direction, m
static FM2DElectroStatic create(const std::string &filename)
virtual void getFieldDimensions(double &zBegin, double &zEnd) const
virtual void setFrequency(double freq)
double * FieldstrengthEr_m
2D array with Er, read in like Ez
int num_gridpz_m
Read in number of points after 0(not counted here) in grid, z-direction.
virtual double getFrequency() const
virtual bool isInside(const Vector_t &r) const
double * FieldstrengthEz_m
2D array with Ez, read in first along z0 - r0 to rN then z1 - r0 to rN until zN - r0 to rN
double hz_m
length between points in grid, z-direction, m