53 std::string outfileElectric;
59 bool overwriteExistingFiles;
63 bool drawZeroValuePoints;
100 template <
typename T>
101 void set_value(std::string property, T value);
108 template <
typename T>
112 std::cout <<
"query> Setting value " << std::setw(25) << std::left <<
property << value << std::endl;
116 {
set(
this,property,value);}
117 catch (
const std::runtime_error&)
119 std::cerr <<
"Error: query> unknown option \"" <<
property <<
"\" with value \"" << value <<
"\"" << std::endl;
Class that provides introspection to its members.
void set(Query *instance, const std::string &name, double value)
Query structure class for parser.
bool axisAngle
Flag to use the axis angle construction of rotation.
std::string referenceElement
Name of reference element w.r.t. to place to.
double s
Curvilinear s position to place w.r.t..
void PublishMembers()
publish members
double theta
Euler angle for rotation.
void set_value(std::string property, T value)
Set methods by property name and value.
void print() const
Print some properties.
std::string pointsFile
File with 3D points to use.
int nt
Number of samples in t.
int nz
Number of samples in z.
bool queryMagneticField
Whether to query the magnetic field.
double psi
Euler angle for rotation.
int ny
Number of samples in y.
std::string name
Name of object.
int nx
Number of samples in x.
double phi
Euler angle for rotation.
std::string outfileMagnetic
Output file name.
int referenceElementNumber
Index of repetition of element if there are multiple uses.
bool queryElectricField
Whether to query the electric field.
std::string fieldObject
Name of field to query.
Parser namespace for GMAD language. Combination of Geant4 and MAD.