19#ifndef CLASSIC_FIELDMAP3DH5BLOCKBASE_H
20#define CLASSIC_FIELDMAP3DH5BLOCKBASE_H
26static_assert (
sizeof(double) ==
sizeof (h5_float64_t),
27 "double and h5_float64_t are not the same type" );
28static_assert (
sizeof(
long long) ==
sizeof (h5_int64_t),
29 "long long and h5_int64_t are not the same type" );
44 double &zBegin,
double &zEnd
51 double &xIni,
double &xFinal,
52 double &yIni,
double &yFinal,
53 double &zIni,
double &zFinal
85 std::vector<std::pair<double, double> >& F);
95 const std::string aFilename);
175 const std::vector<double>& data,
176 const IndexTriplet& idx,
177 unsigned short corner)
const;
180 const std::vector<double>&,
181 const std::vector<double>&,
182 const std::vector<double>&,
185 enum :
unsigned short {
PETE_TUTree< FnFloor, typename T::PETE_Expr_t > floor(const PETE_Expr< T > &l)
virtual void setFrequency(double freq)
void getFieldInfo(const char *)
long long getNumSteps(void)
void openFileMPIOCollective(const std::string aFilename)
unsigned long getIndex(unsigned int i, unsigned int j, unsigned int k) const
virtual ~FM3DH5BlockBase()
std::vector< double > FieldstrengthEz_m
virtual bool isInside(const Vector_t &r) const
virtual double getFrequency() const
virtual void getFieldDimensions(double &zBegin, double &zEnd) const
void setStep(const long long)
virtual void getOnaxisEz(std::vector< std::pair< double, double > > &F)
Vector_t interpolateTrilinearly(const std::vector< double > &, const std::vector< double > &, const std::vector< double > &, const Vector_t &X) const
virtual void getFieldDimensions(double &xIni, double &xFinal, double &yIni, double &yFinal, double &zIni, double &zFinal) const
IndexTriplet getIndex(const Vector_t &X) const
double getWeightedData(const std::vector< double > &data, const IndexTriplet &idx, unsigned short corner) const
void getResonanceFrequency(void)
std::vector< double > FieldstrengthEx_m
void readField(const char *name, double *x, double *y, double *z)
virtual void getInfo(Inform *msg)
virtual bool getFieldDerivative(const Vector_t &, Vector_t &, Vector_t &, const DiffDirection &) const
virtual bool getFieldstrength(const Vector_t &, Vector_t &, Vector_t &) const =0
std::vector< double > FieldstrengthEy_m