51 overwriteExistingFiles =
true;
52 printTransform =
true;
55 drawZeroValuePoints =
true;
96 publish(
"outfileElectric", &Query::outfileElectric);
101 publish(
"overwriteExistingFiles", &Query::overwriteExistingFiles);
102 publish(
"printTransform", &Query::printTransform);
104 publish(
"drawArrows", &Query::drawArrows);
105 publish(
"drawZeroValuePoints", &Query::drawZeroValuePoints);
106 publish(
"drawBoxes", &Query::drawBoxes);
107 publish(
"boxAlpha", &Query::boxAlpha);
131 std::cout <<
"query: "
132 <<
"name " <<
name << std::endl
133 <<
"nx " <<
nx << std::endl
134 <<
"ny " <<
ny << std::endl
135 <<
"nz " <<
nz << std::endl
136 <<
"nt " <<
ny << std::endl
137 <<
"x: (" <<
xmin <<
", " <<
xmax <<
")" << std::endl
138 <<
"y: (" <<
ymin <<
", " <<
ymax <<
")" << std::endl
139 <<
"z: (" <<
zmin <<
", " <<
zmax <<
")" << std::endl
140 <<
"t: (" <<
tmin <<
", " <<
tmax <<
")" << std::endl
142 <<
"outfileElectric: " << outfileElectric << std::endl
146 <<
"overwriteExistingFiles " << overwriteExistingFiles << std::endl
147 <<
"printTransform " << printTransform << std::endl
148 <<
"drawArrows " << drawArrows << std::endl
149 <<
"drawZeroValuePoints " << drawZeroValuePoints << std::endl
150 <<
"drawBoxes " << drawBoxes << std::endl
151 <<
"boxAlpha " << boxAlpha << std::endl
155 <<
"s " <<
s << std::endl
156 <<
"x " <<
x << std::endl
157 <<
"y " <<
y << std::endl
158 <<
"z " <<
z << std::endl
159 <<
"phi " <<
phi << std::endl
160 <<
"theta " <<
theta << std::endl
161 <<
"psi " <<
psi << std::endl
162 <<
"axisX " <<
axisX << std::endl
163 <<
"axisY " <<
axisY << std::endl
164 <<
"axisZ " <<
axisZ << std::endl
165 <<
"angle " <<
angle << std::endl
166 <<
"axisAngle " <<
axisAngle << std::endl;
void publish(const std::string &name, T C::*mp)
Make pointer to member from class C and type T with accessible with a name.
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 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.