26 const std::string& filename
106 <<
"field map '" <<
Filename_m <<
"' Efield: zero everywhere, not interpolated"
114 <<
"field map '" <<
Filename_m <<
"' Hfield: zero everywhere, not interpolated"
122 +
Filename_m +
"' (H5hut format) read",
"info")
std::shared_ptr< _FM3DH5Block > FM3DH5Block
Inform & endl(Inform &inf)
Inform & level1(Inform &inf)
Inform & level3(Inform &inf)
void allocate(std::size_t n)
void reset()
Release the buffer or the mapping.
static std::string typeset_msg(const std::string &msg, const std::string &title)
FieldArray FieldstrengthHy_m
bool hasH_m
False once readMap() has found every Hfield sample to be exactly zero.
virtual bool getFieldstrength(const Vector_t &R, Vector_t &E, Vector_t &B) const
_FM3DH5Block(const std::string &filename)
static FM3DH5Block create(const std::string &filename)
FieldArray FieldstrengthHx_m
bool loaded_m
readMap() has run. The arrays cannot tell any more: a zero group is released.
FieldArray FieldstrengthHz_m
virtual bool isInside(const Vector_t &r) const
bool anyNonZero(const FieldArray &x, const FieldArray &y, const FieldArray &z) const
void setStep(const long long)
FieldArray FieldstrengthEx_m
void getResonanceFrequency(void)
unsigned int num_gridpx_m
void getFieldInfo(const char *)
Vector_t interpolateTrilinearly(const FieldArray &, const FieldArray &, const FieldArray &, const Vector_t &X) const
void readField(const char *name, double *x, double *y, double *z)
void openFileMPIOCollective(const std::string &filename)
long long getNumSteps(void)
unsigned int num_gridpz_m
unsigned int num_gridpy_m
FieldArray FieldstrengthEz_m
FieldArray FieldstrengthEy_m
bool tryMapComponents(const char *name, long long step, FieldArray &x, FieldArray &y, FieldArray &z, std::size_t n)