|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <FM3DMagnetoStaticH5Block.h>
Public Member Functions | |
| virtual bool | getFieldstrength (const Vector_t &R, Vector_t &E, Vector_t &B) const |
| virtual | ~_FM3DMagnetoStaticH5Block () |
| virtual void | getFieldDimensions (double &zBegin, double &zEnd) const |
| virtual void | getFieldDimensions (double &xIni, double &xFinal, double &yIni, double &yFinal, double &zIni, double &zFinal) const |
| virtual bool | getFieldDerivative (const Vector_t &, Vector_t &, Vector_t &, const DiffDirection &) const |
| virtual void | swap () |
| virtual void | getInfo (Inform *msg) |
| virtual void | setFrequency (double freq) |
| virtual void | getOnaxisEz (std::vector< std::pair< double, double > > &F) |
| virtual void | setEdgeConstants (const double &bendAngle, const double &entranceAngle, const double &exitAngle) |
| virtual void | setFieldLength (const double &) |
| virtual void | get1DProfile1EngeCoeffs (std::vector< double > &engeCoeffsEntry, std::vector< double > &engeCoeffsExit) |
| virtual void | get1DProfile1EntranceParam (double &entranceParameter1, double &entranceParameter2, double &entranceParameter3) |
| virtual void | get1DProfile1ExitParam (double &exitParameter1, double &exitParameter2, double &exitParameter3) |
| virtual double | getFieldGap () |
| virtual void | setFieldGap (double gap) |
| MapType | getType () |
| template<class T> | |
| bool | interpretLine (std::ifstream &in, T &value, const bool &file_length_known) |
Static Public Member Functions | |
| static void | readMap (std::string Filename) |
| static void | freeMap (std::string Filename) |
| static Fieldmap | getFieldmap (std::string Filename, bool fast=false) |
| static std::vector< std::string > | getListFieldmapNames () |
| static void | deleteFieldmap (std::string Filename) |
| static void | clearDictionary () |
| static MapType | readHeader (std::string Filename) |
| static std::string | typeset_msg (const std::string &msg, const std::string &title) |
Protected Types | |
| enum | : unsigned short { LX = 0 , LY = 0 , LZ = 0 , HX = 4 , HY = 2 , HZ = 1 } |
Protected Member Functions | |
| void | openFileMPIOCollective (const std::string &filename) |
| long long | getNumSteps (void) |
| void | setStep (const long long) |
| void | getFieldInfo (const char *) |
| void | getResonanceFrequency (void) |
| void | readField (const char *name, double *x, double *y, double *z) |
| void | closeFile (void) |
| virtual bool | isInside (const Vector_t &r) const |
| unsigned long | getIndex (unsigned int i, unsigned int j, unsigned int k) const |
| IndexTriplet | getIndex (const Vector_t &X) const |
| double | getWeightedData (const std::vector< double > &data, const IndexTriplet &idx, unsigned short corner) const |
| Vector_t | interpolateTrilinearly (const std::vector< double > &, const std::vector< double > &, const std::vector< double > &, const Vector_t &X) const |
| void | getLine (std::ifstream &in, std::string &buffer) |
| template<class S> | |
| bool | interpretLine (std::ifstream &in, S &value, const bool &file_length_known=true) |
| template<class S, class T> | |
| bool | interpretLine (std::ifstream &in, S &value1, T &value2, const bool &file_length_known=true) |
| template<class S, class T, class U> | |
| bool | interpretLine (std::ifstream &in, S &value1, T &value2, U &value3, const bool &file_length_known=true) |
| template<class S, class T, class U, class V> | |
| bool | interpretLine (std::ifstream &in, S &value1, T &value2, U &value3, V &value4, const bool &file_length_known=true) |
| template<class S> | |
| bool | interpretLine (std::ifstream &in, S &value1, S &value2, S &value3, S &value4, S &value5, S &value6, const bool &file_length_known=true) |
| bool | interpreteEOF (std::ifstream &in) |
| void | interpretWarning (const std::ios_base::iostate &state, const bool &read_all, const std::string &error_msg, const std::string &found) |
| void | missingValuesWarning () |
| void | exceedingValuesWarning () |
| void | disableFieldmapWarning () |
| void | noFieldmapWarning () |
| void | lowResolutionWarning (double squareError, double maxError) |
| void | checkMap (unsigned int accuracy, std::pair< double, double > fieldDimensions, double deltaZ, const std::vector< double > &fourierCoefficients, gsl_spline *splineCoefficients, gsl_interp_accel *splineAccelerator) |
| void | checkMap (unsigned int accuracy, double length, const std::vector< double > &zSampling, const std::vector< double > &fourierCoefficients, gsl_spline *splineCoefficients, gsl_interp_accel *splineAccelerator) |
| void | write3DField (unsigned int nx, unsigned int ny, unsigned int nz, const std::pair< double, double > &xrange, const std::pair< double, double > &yrange, const std::pair< double, double > &zrange, const std::vector< Vector_t > &ef, const std::vector< Vector_t > &bf) |
Static Protected Member Functions | |
| static void | getLine (std::ifstream &in, int &lines_read, std::string &buffer) |
Protected Attributes | |
| h5_file_t | file_m |
| std::vector< double > | FieldstrengthEz_m |
| std::vector< double > | FieldstrengthEx_m |
| std::vector< double > | FieldstrengthEy_m |
| double | xbegin_m |
| double | xend_m |
| double | ybegin_m |
| double | yend_m |
| double | zbegin_m |
| double | zend_m |
| double | hx_m |
| double | hy_m |
| double | hz_m |
| unsigned int | num_gridpx_m |
| unsigned int | num_gridpy_m |
| unsigned int | num_gridpz_m |
| double | frequency_m |
| bool | swap_m |
| MapType | Type |
| std::string | Filename_m |
| int | lines_read_m |
| bool | normalize_m |
Private Member Functions | |
| _FM3DMagnetoStaticH5Block (const std::string &filename) | |
| virtual void | readMap () |
| virtual void | freeMap () |
| virtual double | getFrequency () const |
Static Private Member Functions | |
| static FM3DMagnetoStaticH5Block | create (const std::string &filename) |
Private Attributes | |
| std::vector< double > | FieldstrengthBz_m |
| std::vector< double > | FieldstrengthBx_m |
| std::vector< double > | FieldstrengthBy_m |
Friends | |
| class | _Fieldmap |
| class | _FM3DH5BlockBase |
Definition at line 26 of file FM3DMagnetoStaticH5Block.h.
|
protectedinherited |
| Enumerator | |
|---|---|
| LX | |
| LY | |
| LZ | |
| HX | |
| HY | |
| HZ | |
Definition at line 235 of file FM3DH5BlockBase.h.
|
virtual |
Definition at line 33 of file FM3DMagnetoStaticH5Block.cpp.
References freeMap().
|
private |
Definition at line 22 of file FM3DMagnetoStaticH5Block.cpp.
References _Fieldmap, _FM3DH5BlockBase, _FM3DH5BlockBase::closeFile(), _FM3DH5BlockBase::getFieldInfo(), _FM3DH5BlockBase::getResonanceFrequency(), _FM3DH5BlockBase::openFileMPIOCollective(), T3DMagnetoStaticH5Block, and _Fieldmap::Type.
Referenced by create().
|
protectedinherited |
Definition at line 464 of file Fieldmap.cpp.
References Util::combineFilePath(), end(), Filename_m, OpalData::getInstance(), lowResolutionWarning(), IpplInfo::myNode(), and Physics::two_pi.
|
protectedinherited |
Definition at line 448 of file Fieldmap.cpp.
References checkMap().
Referenced by checkMap(), _FM1DDynamic_fast::prepareForMapCheck(), _FM1DElectroStatic_fast::prepareForMapCheck(), _FM1DMagnetoStatic_fast::prepareForMapCheck(), _Astra1DDynamic_fast::readMap(), _Astra1DElectroStatic_fast::readMap(), and _Astra1DMagnetoStatic_fast::readMap().
|
staticinherited |
Definition at line 274 of file Fieldmap.cpp.
References FieldmapDictionary.
Referenced by opalMain(), and run_opal().
|
protectedinherited |
Definition at line 153 of file FM3DH5BlockBase.cpp.
References file_m, and _Fieldmap::Filename_m.
Referenced by _FM3DH5Block::_FM3DH5Block(), _FM3DH5Block_nonscale::_FM3DH5Block_nonscale(), _FM3DMagnetoStaticH5Block::_FM3DMagnetoStaticH5Block(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
staticprivate |
Definition at line 37 of file FM3DMagnetoStaticH5Block.cpp.
References _FM3DMagnetoStaticH5Block().
Referenced by _Fieldmap::getFieldmap().
|
staticinherited |
Definition at line 270 of file Fieldmap.cpp.
References freeMap().
|
protectedinherited |
Definition at line 610 of file Fieldmap.cpp.
References Filename_m.
Referenced by _Astra1DDynamic::_Astra1DDynamic(), _Astra1DDynamic_fast::_Astra1DDynamic_fast(), _Astra1DElectroStatic::_Astra1DElectroStatic(), _Astra1DElectroStatic_fast::_Astra1DElectroStatic_fast(), _Astra1DMagnetoStatic::_Astra1DMagnetoStatic(), _Astra1DMagnetoStatic_fast::_Astra1DMagnetoStatic_fast(), _FM1DDynamic::_FM1DDynamic(), _FM1DDynamic_fast::_FM1DDynamic_fast(), _FM1DElectroStatic::_FM1DElectroStatic(), _FM1DElectroStatic_fast::_FM1DElectroStatic_fast(), _FM1DMagnetoStatic::_FM1DMagnetoStatic(), _FM1DMagnetoStatic_fast::_FM1DMagnetoStatic_fast(), _FM1DProfile1::_FM1DProfile1(), _FM1DProfile2::_FM1DProfile2(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DDynamic::_FM3DDynamic(), and _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended().
|
protectedinherited |
Definition at line 600 of file Fieldmap.cpp.
References Filename_m, and lines_read_m.
Referenced by interpreteEOF().
|
staticinherited |
Definition at line 431 of file Fieldmap.cpp.
References FieldmapDictionary.
|
privatevirtual |
Reimplemented from _FM3DH5BlockBase.
Definition at line 76 of file FM3DMagnetoStaticH5Block.cpp.
References FieldstrengthBx_m, FieldstrengthBy_m, FieldstrengthBz_m, _FM3DH5BlockBase::FieldstrengthEx_m, _FM3DH5BlockBase::FieldstrengthEy_m, and _FM3DH5BlockBase::FieldstrengthEz_m.
Referenced by ~_FM3DMagnetoStaticH5Block().
|
virtualinherited |
Reimplemented in _FM1DProfile1.
Definition at line 709 of file Fieldmap.cpp.
|
virtualinherited |
Reimplemented in _FM1DProfile1.
Definition at line 714 of file Fieldmap.cpp.
|
virtualinherited |
Reimplemented in _FM1DProfile1.
Definition at line 720 of file Fieldmap.cpp.
|
inlinevirtualinherited |
Implements _Fieldmap.
Definition at line 63 of file FM3DH5BlockBase.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Implements _Fieldmap.
Definition at line 43 of file FM3DH5BlockBase.h.
|
virtualinherited |
Reimplemented in _FM1DProfile1.
Definition at line 726 of file Fieldmap.cpp.
|
protectedinherited |
Definition at line 68 of file FM3DH5BlockBase.cpp.
References file_m, _Fieldmap::Filename_m, getNumSteps(), hx_m, hy_m, hz_m, name, num_gridpx_m, num_gridpy_m, num_gridpz_m, setStep(), xbegin_m, xend_m, ybegin_m, yend_m, zbegin_m, and zend_m.
Referenced by _FM3DH5Block::_FM3DH5Block(), _FM3DH5Block_nonscale::_FM3DH5Block_nonscale(), and _FM3DMagnetoStaticH5Block::_FM3DMagnetoStaticH5Block().
|
staticinherited |
Definition at line 48 of file Fieldmap.cpp.
References _Astra1DDynamic::create(), _Astra1DDynamic_fast::create(), _Astra1DElectroStatic::create(), _Astra1DElectroStatic_fast::create(), _Astra1DMagnetoStatic::create(), _Astra1DMagnetoStatic_fast::create(), _FM1DDynamic::create(), _FM1DDynamic_fast::create(), _FM1DElectroStatic::create(), _FM1DElectroStatic_fast::create(), _FM1DMagnetoStatic::create(), _FM1DMagnetoStatic_fast::create(), _FM1DProfile1::create(), _FM1DProfile2::create(), _FM2DDynamic::create(), _FM2DElectroStatic::create(), _FM2DMagnetoStatic::create(), _FM3DDynamic::create(), _FM3DH5Block::create(), _FM3DH5Block_nonscale::create(), _FM3DMagnetoStatic::create(), _FM3DMagnetoStaticExtended::create(), _FM3DMagnetoStaticH5Block::create(), FieldmapDictionary, readHeader(), T1DDynamic, T1DElectroStatic, T1DMagnetoStatic, T1DProfile1, T1DProfile2, T2DDynamic, T2DElectroStatic, T2DMagnetoStatic, T3DDynamic, T3DDynamicH5Block, T3DMagnetoStatic, T3DMagnetoStatic_Extended, T3DMagnetoStaticH5Block, TAstraDynamic, TAstraElectroStatic, and TAstraMagnetoStatic.
Referenced by Cyclotron::getFieldFromFile_BandRF(), Cyclotron::getFieldFromFile_Synchrocyclotron(), RBend3D::initialise(), RFCavity::initialise(), Solenoid::initialise(), and Bend2D::initializeFieldMap().
|
virtual |
Implements _FM3DH5BlockBase.
Definition at line 89 of file FM3DMagnetoStaticH5Block.cpp.
References FieldstrengthBx_m, FieldstrengthBy_m, FieldstrengthBz_m, _FM3DH5BlockBase::FieldstrengthEx_m, _FM3DH5BlockBase::FieldstrengthEy_m, _FM3DH5BlockBase::FieldstrengthEz_m, _FM3DH5BlockBase::interpolateTrilinearly(), and _FM3DH5BlockBase::isInside().
|
privatevirtual |
Reimplemented from _FM3DH5BlockBase.
Definition at line 105 of file FM3DMagnetoStaticH5Block.cpp.
|
inlineprotectedinherited |
Definition at line 190 of file FM3DH5BlockBase.h.
References hx_m, hy_m, hz_m, _FM3DH5BlockBase::IndexTriplet::i, _FM3DH5BlockBase::IndexTriplet::j, _FM3DH5BlockBase::IndexTriplet::k, num_gridpx_m, num_gridpy_m, num_gridpz_m, _FM3DH5BlockBase::IndexTriplet::weight, X, xbegin_m, ybegin_m, and zbegin_m.
|
inlineprotectedinherited |
Definition at line 147 of file FM3DH5BlockBase.h.
References num_gridpx_m, and num_gridpy_m.
Referenced by getWeightedData(), and interpolateTrilinearly().
|
virtualinherited |
|
staticprotectedinherited |
Definition at line 533 of file Fieldmap.cpp.
References alpha_numeric, buffer_m, and READ_BUFFER_LENGTH.
|
inlineprotectedinherited |
Definition at line 122 of file Fieldmap.h.
References getLine(), and lines_read_m.
Referenced by getLine(), interpretLine(), interpretLine(), interpretLine(), interpretLine(), interpretLine(), readHeader(), _Astra1DDynamic::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DMagnetoStatic::readMap(), _FM2DDynamic::readMap(), _FM2DElectroStatic::readMap(), _FM2DMagnetoStatic::readMap(), _FM3DDynamic::readMap(), _FM3DMagnetoStatic::readMap(), _FM3DMagnetoStaticExtended::readMap(), _FM1DDynamic::stripFileHeader(), _FM1DDynamic_fast::stripFileHeader(), _FM1DElectroStatic::stripFileHeader(), _FM1DElectroStatic_fast::stripFileHeader(), _FM1DMagnetoStatic::stripFileHeader(), and _FM1DMagnetoStatic_fast::stripFileHeader().
|
staticinherited |
Definition at line 262 of file Fieldmap.cpp.
References FieldmapDictionary.
|
protectedinherited |
Definition at line 43 of file FM3DH5BlockBase.cpp.
References file_m, and _Fieldmap::Filename_m.
Referenced by getFieldInfo(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
virtualinherited |
Reimplemented from _Fieldmap.
Definition at line 233 of file FM3DH5BlockBase.cpp.
References FieldstrengthEz_m, hx_m, hy_m, num_gridpx_m, num_gridpy_m, num_gridpz_m, xbegin_m, ybegin_m, zbegin_m, and zend_m.
|
protectedinherited |
Definition at line 112 of file FM3DH5BlockBase.cpp.
References file_m, _Fieldmap::Filename_m, frequency_m, and Physics::two_pi.
Referenced by _FM3DH5Block::_FM3DH5Block(), _FM3DH5Block_nonscale::_FM3DH5Block_nonscale(), and _FM3DMagnetoStaticH5Block::_FM3DMagnetoStaticH5Block().
|
inlineinherited |
Definition at line 98 of file Fieldmap.h.
References Type.
|
protectedinherited |
Definition at line 161 of file FM3DH5BlockBase.cpp.
References getIndex(), HX, HY, HZ, _FM3DH5BlockBase::IndexTriplet::i, _FM3DH5BlockBase::IndexTriplet::j, _FM3DH5BlockBase::IndexTriplet::k, and _FM3DH5BlockBase::IndexTriplet::weight.
Referenced by interpolateTrilinearly().
|
protectedinherited |
Definition at line 178 of file FM3DH5BlockBase.cpp.
References getIndex(), getWeightedData(), HX, HY, HZ, LX, LY, LZ, and X.
Referenced by _FM3DH5Block::getFieldstrength(), _FM3DH5Block_nonscale::getFieldstrength(), and _FM3DMagnetoStaticH5Block::getFieldstrength().
|
protectedinherited |
Definition at line 555 of file Fieldmap.cpp.
References alpha_numeric, buffer_m, exceedingValuesWarning(), lines_read_m, and READ_BUFFER_LENGTH.
Referenced by _FM1DProfile1::_FM1DProfile1(), _FM1DProfile2::_FM1DProfile2(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DDynamic::_FM3DDynamic(), _FM3DMagnetoStatic::_FM3DMagnetoStatic(), _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended(), _FM1DDynamic::checkFileData(), _FM1DDynamic_fast::checkFileData(), _FM1DElectroStatic::checkFileData(), _FM1DElectroStatic_fast::checkFileData(), _FM1DMagnetoStatic::checkFileData(), and _FM1DMagnetoStatic_fast::checkFileData().
|
protectedinherited |
Referenced by _Astra1DDynamic::_Astra1DDynamic(), _Astra1DElectroStatic::_Astra1DElectroStatic(), _Astra1DMagnetoStatic::_Astra1DMagnetoStatic(), _FM1DProfile1::_FM1DProfile1(), _FM1DProfile2::_FM1DProfile2(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DDynamic::_FM3DDynamic(), _FM3DMagnetoStatic::_FM3DMagnetoStatic(), _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended(), _FM1DDynamic::checkFileData(), _FM1DDynamic_fast::checkFileData(), _FM1DElectroStatic::checkFileData(), _FM1DElectroStatic_fast::checkFileData(), _FM1DMagnetoStatic::checkFileData(), _FM1DMagnetoStatic_fast::checkFileData(), _Astra1D_fast::determineNumSamplingPoints(), _Astra1DDynamic::getOnaxisEz(), _Astra1DDynamic_fast::getOnaxisEz(), _Astra1D_fast::readFieldData(), _FM1DDynamic::readFileData(), _FM1DDynamic::readFileData(), _FM1DDynamic_fast::readFileData(), _FM1DDynamic_fast::readFileData(), _FM1DElectroStatic::readFileData(), _FM1DElectroStatic_fast::readFileData(), _FM1DMagnetoStatic::readFileData(), _FM1DMagnetoStatic_fast::readFileData(), _Astra1DDynamic_fast::readFileHeader(), _Astra1DElectroStatic_fast::readFileHeader(), _Astra1DMagnetoStatic_fast::readFileHeader(), _FM1DDynamic::readFileHeader(), _FM1DDynamic_fast::readFileHeader(), _FM1DElectroStatic::readFileHeader(), _FM1DElectroStatic_fast::readFileHeader(), _FM1DMagnetoStatic::readFileHeader(), _FM1DMagnetoStatic_fast::readFileHeader(), _Astra1DDynamic::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DMagnetoStatic::readMap(), _FM1DProfile1::readMap(), _FM1DProfile2::readMap(), _FM2DDynamic::readMap(), _FM2DElectroStatic::readMap(), _FM2DMagnetoStatic::readMap(), _FM3DDynamic::readMap(), _FM3DMagnetoStatic::readMap(), _FM3DMagnetoStaticExtended::readMap(), _Astra1DDynamic_fast::stripFileHeader(), _Astra1DElectroStatic_fast::stripFileHeader(), and _Astra1DMagnetoStatic_fast::stripFileHeader().
|
protectedinherited |
Definition at line 141 of file Fieldmap.hpp.
References getLine(), interpretWarning(), and missingValuesWarning().
|
protectedinherited |
Definition at line 39 of file Fieldmap.hpp.
References getLine(), interpretWarning(), and missingValuesWarning().
|
protectedinherited |
Definition at line 70 of file Fieldmap.hpp.
References getLine(), interpretWarning(), and missingValuesWarning().
|
protectedinherited |
Definition at line 104 of file Fieldmap.hpp.
References getLine(), interpretWarning(), and missingValuesWarning().
|
inherited |
Definition at line 12 of file Fieldmap.hpp.
References getLine(), interpretWarning(), and missingValuesWarning().
|
protectedinherited |
Definition at line 571 of file Fieldmap.cpp.
References Filename_m, and lines_read_m.
Referenced by interpretLine(), interpretLine(), interpretLine(), interpretLine(), and interpretLine().
|
inlineprotectedvirtualinherited |
Reimplemented from _Fieldmap.
Definition at line 119 of file FM3DH5BlockBase.h.
References xbegin_m, xend_m, ybegin_m, yend_m, zbegin_m, and zend_m.
Referenced by _FM3DH5Block::getFieldstrength(), _FM3DH5Block_nonscale::getFieldstrength(), and _FM3DMagnetoStaticH5Block::getFieldstrength().
|
protectedinherited |
Definition at line 626 of file Fieldmap.cpp.
References endl(), ERRORMSG, Filename_m, OpalData::getAuxiliaryOutputDirectory(), OpalData::getInstance(), IpplInfo::myNode(), and typeset_msg().
Referenced by checkMap().
|
protectedinherited |
Definition at line 590 of file Fieldmap.cpp.
References Filename_m, and lines_read_m.
Referenced by interpretLine(), interpretLine(), interpretLine(), interpretLine(), and interpretLine().
|
protectedinherited |
Definition at line 618 of file Fieldmap.cpp.
References Filename_m.
Referenced by _Astra1DDynamic_fast::_Astra1DDynamic_fast(), _Astra1DElectroStatic_fast::_Astra1DElectroStatic_fast(), _Astra1DMagnetoStatic_fast::_Astra1DMagnetoStatic_fast(), _FM1DDynamic::_FM1DDynamic(), _FM1DDynamic_fast::_FM1DDynamic_fast(), _FM1DElectroStatic::_FM1DElectroStatic(), _FM1DElectroStatic_fast::_FM1DElectroStatic_fast(), _FM1DMagnetoStatic::_FM1DMagnetoStatic(), _FM1DMagnetoStatic_fast::_FM1DMagnetoStatic_fast(), _FM1DProfile1::_FM1DProfile1(), _FM1DProfile2::_FM1DProfile2(), and _FM3DDynamic::_FM3DDynamic().
|
protectedinherited |
Definition at line 24 of file FM3DH5BlockBase.cpp.
References file_m, and IpplInfo::getComm().
Referenced by _FM3DH5Block::_FM3DH5Block(), _FM3DH5Block_nonscale::_FM3DH5Block_nonscale(), _FM3DMagnetoStaticH5Block::_FM3DMagnetoStaticH5Block(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
Definition at line 124 of file FM3DH5BlockBase.cpp.
References file_m, _Fieldmap::Filename_m, name, num_gridpx_m, num_gridpy_m, and num_gridpz_m.
Referenced by _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
staticinherited |
Definition at line 282 of file Fieldmap.cpp.
References IpplInfo::getComm(), getLine(), lines_read_m, name, PAssert, T1DDynamic, T1DElectroStatic, T1DMagnetoStatic, T1DProfile1, T2DDynamic, T2DElectroStatic, T2DMagnetoStatic, T3DDynamic, T3DDynamicH5Block, T3DElectroStatic, T3DMagnetoStatic, T3DMagnetoStatic_Extended, T3DMagnetoStaticH5Block, TAstraDynamic, TAstraElectroStatic, TAstraMagnetoStatic, and UNKNOWN.
Referenced by getFieldmap().
|
staticinherited |
Definition at line 422 of file Fieldmap.cpp.
References FieldmapDictionary.
Referenced by Cyclotron::getFieldFromFile_BandRF(), and Cyclotron::getFieldFromFile_Synchrocyclotron().
|
privatevirtual |
Reimplemented from _FM3DH5BlockBase.
Definition at line 42 of file FM3DMagnetoStaticH5Block.cpp.
References _FM3DH5BlockBase::closeFile(), endl(), FieldstrengthBx_m, FieldstrengthBy_m, FieldstrengthBz_m, _FM3DH5BlockBase::FieldstrengthEx_m, _FM3DH5BlockBase::FieldstrengthEy_m, _FM3DH5BlockBase::FieldstrengthEz_m, _Fieldmap::Filename_m, _FM3DH5BlockBase::getNumSteps(), INFOMSG, level3(), _FM3DH5BlockBase::num_gridpx_m, _FM3DH5BlockBase::num_gridpy_m, _FM3DH5BlockBase::num_gridpz_m, _FM3DH5BlockBase::openFileMPIOCollective(), _FM3DH5BlockBase::readField(), _FM3DH5BlockBase::setStep(), and _Fieldmap::typeset_msg().
|
virtualinherited |
Reimplemented in _FM1DProfile2.
Definition at line 527 of file Fieldmap.cpp.
|
virtualinherited |
Reimplemented in _FM1DProfile1.
Definition at line 730 of file Fieldmap.cpp.
|
virtualinherited |
Definition at line 530 of file Fieldmap.cpp.
|
virtualinherited |
|
protectedinherited |
Definition at line 59 of file FM3DH5BlockBase.cpp.
References file_m, and _Fieldmap::Filename_m.
Referenced by getFieldInfo(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
inlinevirtualinherited |
Implements _Fieldmap.
Definition at line 72 of file FM3DH5BlockBase.h.
|
staticinherited |
Definition at line 649 of file Fieldmap.cpp.
References c.
Referenced by RFCavity::initialise(), lowResolutionWarning(), CCollimator::print(), FlexibleCollimator::print(), _Astra1DDynamic::readMap(), _Astra1DDynamic_fast::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DElectroStatic_fast::readMap(), _Astra1DMagnetoStatic::readMap(), _Astra1DMagnetoStatic_fast::readMap(), _FM1DDynamic::readMap(), _FM1DDynamic_fast::readMap(), _FM1DElectroStatic::readMap(), _FM1DElectroStatic_fast::readMap(), _FM1DMagnetoStatic::readMap(), _FM1DMagnetoStatic_fast::readMap(), _FM1DProfile1::readMap(), _FM1DProfile2::readMap(), _FM2DDynamic::readMap(), _FM2DElectroStatic::readMap(), _FM2DMagnetoStatic::readMap(), _FM3DDynamic::readMap(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), _FM3DMagnetoStatic::readMap(), _FM3DMagnetoStaticExtended::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
Definition at line 734 of file Fieldmap.cpp.
References Util::combineFilePath(), Filename_m, OpalData::getAuxiliaryOutputDirectory(), OpalData::getInstance(), IpplInfo::myNode(), and PAssert.
Referenced by _FM3DDynamic::readMap().
|
friend |
Definition at line 54 of file FM3DMagnetoStaticH5Block.h.
References _Fieldmap.
Referenced by _Fieldmap, and _FM3DMagnetoStaticH5Block().
|
friend |
Definition at line 55 of file FM3DMagnetoStaticH5Block.h.
References _FM3DH5BlockBase.
Referenced by _FM3DH5BlockBase, and _FM3DMagnetoStaticH5Block().
|
private |
3D array with Bx
Definition at line 51 of file FM3DMagnetoStaticH5Block.h.
Referenced by freeMap(), getFieldstrength(), and readMap().
|
private |
3D array with By
Definition at line 52 of file FM3DMagnetoStaticH5Block.h.
Referenced by freeMap(), getFieldstrength(), and readMap().
|
private |
3D array with Bz
Definition at line 50 of file FM3DMagnetoStaticH5Block.h.
Referenced by freeMap(), getFieldstrength(), and readMap().
|
protectedinherited |
3D array with Ex
Definition at line 245 of file FM3DH5BlockBase.h.
Referenced by _FM3DH5Block::freeMap(), _FM3DH5Block_nonscale::freeMap(), _FM3DMagnetoStaticH5Block::freeMap(), _FM3DH5Block::getFieldstrength(), _FM3DH5Block_nonscale::getFieldstrength(), _FM3DMagnetoStaticH5Block::getFieldstrength(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
3D array with Ey
Definition at line 246 of file FM3DH5BlockBase.h.
Referenced by _FM3DH5Block::freeMap(), _FM3DH5Block_nonscale::freeMap(), _FM3DMagnetoStaticH5Block::freeMap(), _FM3DH5Block::getFieldstrength(), _FM3DH5Block_nonscale::getFieldstrength(), _FM3DMagnetoStaticH5Block::getFieldstrength(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
3D array with Ez
Definition at line 244 of file FM3DH5BlockBase.h.
Referenced by _FM3DH5Block::freeMap(), _FM3DH5Block_nonscale::freeMap(), _FM3DMagnetoStaticH5Block::freeMap(), _FM3DH5Block::getFieldstrength(), _FM3DH5Block_nonscale::getFieldstrength(), _FM3DMagnetoStaticH5Block::getFieldstrength(), getOnaxisEz(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
Definition at line 243 of file FM3DH5BlockBase.h.
Referenced by closeFile(), getFieldInfo(), getNumSteps(), getResonanceFrequency(), openFileMPIOCollective(), readField(), and setStep().
|
protectedinherited |
Definition at line 118 of file Fieldmap.h.
Referenced by _Astra1DDynamic::_Astra1DDynamic(), _Astra1DDynamic_fast::_Astra1DDynamic_fast(), _Astra1DElectroStatic::_Astra1DElectroStatic(), _Astra1DElectroStatic_fast::_Astra1DElectroStatic_fast(), _Astra1DMagnetoStatic::_Astra1DMagnetoStatic(), _Astra1DMagnetoStatic_fast::_Astra1DMagnetoStatic_fast(), _Fieldmap(), _FM1DDynamic::_FM1DDynamic(), _FM1DDynamic_fast::_FM1DDynamic_fast(), _FM1DElectroStatic::_FM1DElectroStatic(), _FM1DElectroStatic_fast::_FM1DElectroStatic_fast(), _FM1DMagnetoStatic::_FM1DMagnetoStatic(), _FM1DMagnetoStatic_fast::_FM1DMagnetoStatic_fast(), _FM1DProfile1::_FM1DProfile1(), _FM1DProfile2::_FM1DProfile2(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DDynamic::_FM3DDynamic(), _FM3DMagnetoStatic::_FM3DMagnetoStatic(), _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended(), checkMap(), _FM3DH5BlockBase::closeFile(), disableFieldmapWarning(), exceedingValuesWarning(), _FM3DH5BlockBase::getFieldInfo(), _Astra1DDynamic::getInfo(), _Astra1DDynamic_fast::getInfo(), _Astra1DElectroStatic::getInfo(), _Astra1DElectroStatic_fast::getInfo(), _Astra1DMagnetoStatic::getInfo(), _Astra1DMagnetoStatic_fast::getInfo(), _FM1DDynamic::getInfo(), _FM1DDynamic_fast::getInfo(), _FM1DElectroStatic::getInfo(), _FM1DElectroStatic_fast::getInfo(), _FM1DMagnetoStatic::getInfo(), _FM1DMagnetoStatic_fast::getInfo(), _FM1DProfile1::getInfo(), _FM1DProfile2::getInfo(), _FM2DDynamic::getInfo(), _FM2DElectroStatic::getInfo(), _FM2DMagnetoStatic::getInfo(), _FM3DDynamic::getInfo(), _FM3DH5BlockBase::getInfo(), _FM3DMagnetoStatic::getInfo(), _FM3DMagnetoStaticExtended::getInfo(), _FM3DH5BlockBase::getNumSteps(), _Astra1DDynamic::getOnaxisEz(), _Astra1DDynamic_fast::getOnaxisEz(), _FM1DDynamic::getOnaxisEz(), _FM1DDynamic_fast::getOnaxisEz(), _FM3DDynamic::getOnaxisEz(), _FM3DH5BlockBase::getResonanceFrequency(), interpretWarning(), lowResolutionWarning(), missingValuesWarning(), noFieldmapWarning(), _FM3DH5BlockBase::readField(), _Astra1DDynamic::readMap(), _Astra1DDynamic_fast::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DElectroStatic_fast::readMap(), _Astra1DMagnetoStatic::readMap(), _Astra1DMagnetoStatic_fast::readMap(), _FM1DDynamic::readMap(), _FM1DDynamic_fast::readMap(), _FM1DElectroStatic::readMap(), _FM1DElectroStatic_fast::readMap(), _FM1DMagnetoStatic::readMap(), _FM1DMagnetoStatic_fast::readMap(), _FM1DProfile1::readMap(), _FM1DProfile2::readMap(), _FM2DDynamic::readMap(), _FM2DElectroStatic::readMap(), _FM2DMagnetoStatic::readMap(), _FM3DDynamic::readMap(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), _FM3DMagnetoStatic::readMap(), _FM3DMagnetoStaticExtended::readMap(), _FM3DMagnetoStaticH5Block::readMap(), _FM3DH5BlockBase::setStep(), and write3DField().
|
protectedinherited |
Definition at line 265 of file FM3DH5BlockBase.h.
Referenced by getFrequency(), getResonanceFrequency(), and setFrequency().
|
protectedinherited |
length between points in grid, x-direction
Definition at line 257 of file FM3DH5BlockBase.h.
Referenced by getFieldInfo(), getIndex(), getInfo(), and getOnaxisEz().
|
protectedinherited |
length between points in grid, y-direction
Definition at line 258 of file FM3DH5BlockBase.h.
Referenced by getFieldInfo(), getIndex(), getInfo(), and getOnaxisEz().
|
protectedinherited |
length between points in grid, z-direction
Definition at line 259 of file FM3DH5BlockBase.h.
Referenced by getFieldInfo(), getIndex(), and getInfo().
|
protectedinherited |
Definition at line 119 of file Fieldmap.h.
Referenced by _Astra1DDynamic::_Astra1DDynamic(), _Astra1DElectroStatic::_Astra1DElectroStatic(), _Astra1DMagnetoStatic::_Astra1DMagnetoStatic(), _Fieldmap(), _FM1DProfile2::_FM1DProfile2(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended(), _Astra1D_fast::determineNumSamplingPoints(), exceedingValuesWarning(), getLine(), interpreteEOF(), interpretWarning(), missingValuesWarning(), and readHeader().
|
protectedinherited |
Definition at line 121 of file Fieldmap.h.
Referenced by _Astra1D_fast::_Astra1D_fast(), _Astra1DDynamic::_Astra1DDynamic(), _Astra1DElectroStatic::_Astra1DElectroStatic(), _Astra1DMagnetoStatic::_Astra1DMagnetoStatic(), _Fieldmap(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DMagnetoStatic::_FM3DMagnetoStatic(), _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended(), _FM1DMagnetoStatic_fast::normalizeField(), _Astra1D_fast::readFieldData(), _FM1DDynamic::readFileData(), _FM1DDynamic::readFileData(), _FM1DDynamic_fast::readFileData(), _FM1DDynamic_fast::readFileData(), _FM1DElectroStatic::readFileData(), _FM1DElectroStatic_fast::readFileData(), _FM1DMagnetoStatic::readFileData(), _Astra1DDynamic_fast::readFileHeader(), _Astra1DElectroStatic_fast::readFileHeader(), _Astra1DMagnetoStatic_fast::readFileHeader(), _FM1DDynamic::readFileHeader(), _FM1DDynamic_fast::readFileHeader(), _FM1DElectroStatic::readFileHeader(), _FM1DElectroStatic_fast::readFileHeader(), _FM1DMagnetoStatic::readFileHeader(), _FM1DMagnetoStatic_fast::readFileHeader(), _Astra1DDynamic::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DMagnetoStatic::readMap(), _FM2DDynamic::readMap(), _FM2DElectroStatic::readMap(), _FM2DMagnetoStatic::readMap(), _FM3DMagnetoStatic::readMap(), _FM3DMagnetoStaticExtended::readMap(), and _FM1DDynamic_fast::scaleField().
|
protectedinherited |
number of points after 0(not counted here) in grid, x-direction
Definition at line 261 of file FM3DH5BlockBase.h.
Referenced by getFieldInfo(), getIndex(), getIndex(), getOnaxisEz(), readField(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
number of points after 0(not counted here) in grid, y-direction
Definition at line 262 of file FM3DH5BlockBase.h.
Referenced by getFieldInfo(), getIndex(), getIndex(), getOnaxisEz(), readField(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
number of points after 0(not counted here) in grid, z-direction
Definition at line 263 of file FM3DH5BlockBase.h.
Referenced by getFieldInfo(), getIndex(), getOnaxisEz(), readField(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), and _FM3DMagnetoStaticH5Block::readMap().
|
protectedinherited |
Definition at line 267 of file FM3DH5BlockBase.h.
|
protectedinherited |
Definition at line 116 of file Fieldmap.h.
Referenced by _Astra1DDynamic::_Astra1DDynamic(), _Astra1DDynamic_fast::_Astra1DDynamic_fast(), _Astra1DElectroStatic::_Astra1DElectroStatic(), _Astra1DElectroStatic_fast::_Astra1DElectroStatic_fast(), _Astra1DMagnetoStatic::_Astra1DMagnetoStatic(), _Astra1DMagnetoStatic_fast::_Astra1DMagnetoStatic_fast(), _FM1DDynamic::_FM1DDynamic(), _FM1DDynamic_fast::_FM1DDynamic_fast(), _FM1DElectroStatic::_FM1DElectroStatic(), _FM1DElectroStatic_fast::_FM1DElectroStatic_fast(), _FM1DMagnetoStatic::_FM1DMagnetoStatic(), _FM1DMagnetoStatic_fast::_FM1DMagnetoStatic_fast(), _FM1DProfile1::_FM1DProfile1(), _FM1DProfile2::_FM1DProfile2(), _FM2DDynamic::_FM2DDynamic(), _FM2DElectroStatic::_FM2DElectroStatic(), _FM2DMagnetoStatic::_FM2DMagnetoStatic(), _FM3DDynamic::_FM3DDynamic(), _FM3DH5Block::_FM3DH5Block(), _FM3DH5Block_nonscale::_FM3DH5Block_nonscale(), _FM3DMagnetoStatic::_FM3DMagnetoStatic(), _FM3DMagnetoStaticExtended::_FM3DMagnetoStaticExtended(), _FM3DMagnetoStaticH5Block::_FM3DMagnetoStaticH5Block(), and getType().
|
protectedinherited |
Definition at line 248 of file FM3DH5BlockBase.h.
Referenced by getFieldDimensions(), getFieldInfo(), getIndex(), getInfo(), getOnaxisEz(), and isInside().
|
protectedinherited |
Definition at line 249 of file FM3DH5BlockBase.h.
Referenced by getFieldDimensions(), getFieldInfo(), getInfo(), and isInside().
|
protectedinherited |
Definition at line 251 of file FM3DH5BlockBase.h.
Referenced by getFieldDimensions(), getFieldInfo(), getIndex(), getInfo(), getOnaxisEz(), and isInside().
|
protectedinherited |
Definition at line 252 of file FM3DH5BlockBase.h.
Referenced by getFieldDimensions(), getFieldInfo(), getInfo(), and isInside().
|
protectedinherited |
Definition at line 254 of file FM3DH5BlockBase.h.
Referenced by getFieldDimensions(), getFieldDimensions(), getFieldInfo(), getIndex(), getInfo(), getOnaxisEz(), and isInside().
|
protectedinherited |
Definition at line 255 of file FM3DH5BlockBase.h.
Referenced by getFieldDimensions(), getFieldDimensions(), getFieldInfo(), getInfo(), getOnaxisEz(), and isInside().