28 #ifndef OPAL_BASICACTIONS_DUMPEMFIELDS_HH
29 #define OPAL_BASICACTIONS_DUMPEMFIELDS_HH
31 #include <unordered_set>
35 namespace interpolation {
107 static void checkInt(
double value, std::string
name,
double tolerance = 1
e-9);
112 std::ofstream& fout)
const;
121 constexpr
static double DEGREE = 180./M_PI;
126 #endif // ifdef OPAL_DUMPFIELDS_HH
constexpr double e
The value of .
void parseCoordinateSystem()
The base class for all OPAL actions.
static std::unordered_set< DumpEMFields * > dumpsSet_m
void writeFieldLine(Component *field, const Vector_t &point, const double &time, std::ofstream &fout) const
static void checkInt(double value, std::string name, double tolerance=1e-9)
static std::string dumpemfields_docstring
static void writeFields(Component *field)
DumpEMFields & operator=(const DumpEMFields &dump)
static constexpr double DEGREE
virtual DumpEMFields * clone(const std::string &name)
CoordinateSystem coordinates_m
interpolation::NDGrid * grid_m
Interface for a single beam element.
virtual void writeFieldThis(Component *field)
void writeHeader(std::ofstream &fout) const