19#ifndef OPAL_BASICACTIONS_DUMPEMFIELDS_HH
20#define OPAL_BASICACTIONS_DUMPEMFIELDS_HH
26#include <unordered_set>
124 void print(std::ostream& os)
const;
136 static void checkInt(
double value, std::string
name,
double tolerance = 1
e-9);
141 std::ofstream& fout)
const;
std::ostream & operator<<(std::ostream &os, const DumpEMFields &b)
constexpr double e
The value of.
The base class for all OPAL actions.
virtual void writeFieldThis(Component *field)
void print(std::ostream &os) const
static std::unordered_set< DumpEMFields * > dumpsSet_m
void parseCoordinateSystem()
static void writeFields(Component *field)
DumpEMFields & operator=(const DumpEMFields &dump)
interpolation::NDGrid * grid_m
CoordinateSystem coordinates_m
void writeHeader(std::ofstream &fout) const
static void checkInt(double value, std::string name, double tolerance=1e-9)
virtual DumpEMFields * clone(const std::string &name)
void writeFieldLine(Component *field, const Vector_t &point, const double &time, std::ofstream &fout) const
DumpEMFields(const DumpEMFields &dump)
Interface for a single beam element.