19#ifndef _MESHTALLY_HXX_
20#define _MESHTALLY_HXX_
107 void AddMesh(
string meshtype =
"rectangular",
int type = 1,
string particle =
"N",
string obs =
"flux");
153 void SetDoseParameter(
int H = 10,
int InterpolationMethod = 1,
string Units =
"sievert",
double NormFactor = 1.0);
155 string Print()
override;
193 FMeshTally(
string meshtype =
"rectangular",
string particle =
"N");
298 void SetKMesh(vector < double > KMESH);
330 string Print()
override;
Define a MCNPX TMeshTally.
Definition MeshTally.hxx:181
vector< double > fEMESH
Energy coarse mesh grid.
Definition MeshTally.hxx:349
vector< double > fVector
theta axis reference of a cylindrical mesh
Definition MeshTally.hxx:344
void SetKFineGrid(vector< int > KINTS)
Definition MeshTally.cxx:276
bool fIfineGrid
whether a fine grid is defined in i
Definition MeshTally.hxx:354
vector< int > fIINTS
First fine mesh grid bins.
Definition MeshTally.hxx:350
void SetIMesh(vector< double > IMESH)
Definition MeshTally.hxx:242
vector< int > fJINTS
Second fine mesh grid bins.
Definition MeshTally.hxx:351
void SetCylinderAxis(double x=0., double y=0., double z=1.)
Definition MeshTally.cxx:239
vector< double > fOrigin
Origin of the mesh.
Definition MeshTally.hxx:341
vector< double > fJMESH
Second coarse mesh grid.
Definition MeshTally.hxx:347
void SetEFineGrid(vector< int > EINTS)
Definition MeshTally.cxx:290
void SetJFineGrid(vector< int > JINTS)
Definition MeshTally.cxx:270
void SetOrigin(vector< double > Origin)
Definition MeshTally.hxx:209
MeshTally * Clone() override
The "Virtual Copy Constructor".
Definition MeshTally.hxx:196
~FMeshTally() override=default
void SetEMesh(vector< double > E)
Definition MeshTally.cxx:283
vector< double > fIMESH
First coarse mesh grid.
Definition MeshTally.hxx:346
void SetIFineGrid(vector< int > IINTS)
Definition MeshTally.cxx:264
void SetJMesh(vector< double > JMESH)
Definition MeshTally.hxx:273
void SetKMesh(vector< double > KMESH)
Definition MeshTally.cxx:254
bool fKfineGrid
whether a fine grid is defined in k
Definition MeshTally.hxx:356
string fParticle
TMeshTally type.
Definition MeshTally.hxx:339
int fNumber
FMESH number.
Definition MeshTally.hxx:340
vector< double > fAxis
Axis coordinates of a cylindrical mesh.
Definition MeshTally.hxx:343
int GetNumber()
Definition MeshTally.hxx:332
bool fJfineGrid
whether a fine grid is defined in j
Definition MeshTally.hxx:355
string fType
TMeshTally type.
Definition MeshTally.hxx:338
string Print() override
Print a mesh tally.
Definition MeshTally.cxx:296
vector< int > fEINTS
Energy fine mesh grid bins.
Definition MeshTally.hxx:353
vector< double > fKMESH
Third coarse mesh grid.
Definition MeshTally.hxx:348
void SetCylinderVector(double x=1., double y=0., double z=0.)
Definition MeshTally.cxx:246
vector< int > fKINTS
Third fine mesh grid bins.
Definition MeshTally.hxx:352
Define a MeshTally class (abstract).
Definition MeshTally.hxx:45
virtual string Print()
Definition MeshTally.hxx:50
virtual MeshTally * Clone()=0
The "Virtual Copy Constructor".
virtual ~MeshTally()=default
Define a MCNPX TMeshTally.
Definition MeshTally.hxx:66
vector< int > fMeshType
Vector that contains the geometry mesh type.
Definition MeshTally.hxx:158
string Print() override
Print a mesh tally.
Definition MeshTally.cxx:105
vector< string > fMeshcorc
Vector that contains all the define mesh corc.
Definition MeshTally.hxx:165
void SetCorC(string corc)
Definition MeshTally.cxx:100
int fH
dose equivalent
Definition MeshTally.hxx:167
int fDoseUnits
1=(rem/h)/(particles/cm2-sec), 2=(sieverts/h)/(particles/cm2-sec)
Definition MeshTally.hxx:169
vector< int > fType
Vector that contains all the define TMeshTally type.
Definition MeshTally.hxx:159
double fNormFactor
normalization factor for dose
Definition MeshTally.hxx:170
void AddMesh(string meshtype="rectangular", int type=1, string particle="N", string obs="flux")
Definition MeshTally.cxx:70
vector< string > fMeshcora
Vector that contains all the define mesh cora.
Definition MeshTally.hxx:163
void SetCorB(string corb)
Definition MeshTally.cxx:95
vector< string > fMeshParticle
Vector that contains all the define mesh particule.
Definition MeshTally.hxx:160
vector< string > fMeshcorb
Vector that contains all the define mesh corb.
Definition MeshTally.hxx:164
MeshTally * Clone() override
The "Virtual Copy Constructor".
Definition MeshTally.hxx:73
vector< string > fMeshObs
Vector that contains all the define mesh observable.
Definition MeshTally.hxx:161
~TMeshTally() override=default
TMeshTally()
Definition MeshTally.cxx:46
int fInterpolationMethod
fInterpolationMethod
Definition MeshTally.hxx:168
void SetDoseParameter(int H=10, int InterpolationMethod=1, string Units="sievert", double NormFactor=1.0)
Definition MeshTally.cxx:165
void SetCorA(string cora)
Definition MeshTally.cxx:90
the namespace of the Standard C++