Geant4
10.00.p01
|
#include <G4GDMLEvaluator.hh>
Public Member Functions | |
G4GDMLEvaluator () | |
void | Clear () |
void | DefineConstant (const G4String &, G4double) |
void | DefineVariable (const G4String &, G4double) |
void | DefineMatrix (const G4String &, G4int, std::vector< G4double >) |
void | SetVariable (const G4String &, G4double) |
G4bool | IsVariable (const G4String &) const |
G4String | SolveBrackets (const G4String &) |
G4double | Evaluate (const G4String &) |
G4int | EvaluateInteger (const G4String &) |
G4double | GetConstant (const G4String &) |
G4double | GetVariable (const G4String &) |
Private Attributes | |
G4Evaluator | eval |
std::vector< G4String > | variableList |
Definition at line 47 of file G4GDMLEvaluator.hh.
G4GDMLEvaluator::G4GDMLEvaluator | ( | ) |
void G4GDMLEvaluator::Clear | ( | ) |
Definition at line 48 of file G4GDMLEvaluator.cc.
References ampere, candela, eval, kelvin, kilogram, meter, mole, second, and variableList.
Referenced by G4GDMLReadStructure::Clear().
Definition at line 57 of file G4GDMLEvaluator.cc.
References eval, FatalException, G4Exception(), and name.
Referenced by G4GDMLReadDefine::ConstantRead(), DefineMatrix(), G4GDMLReadDefine::ExpressionRead(), and G4GDMLReadDefine::QuantityRead().
void G4GDMLEvaluator::DefineMatrix | ( | const G4String & | name, |
G4int | coldim, | ||
std::vector< G4double > | valueList | ||
) |
Definition at line 80 of file G4GDMLEvaluator.cc.
References DefineConstant(), FatalException, and G4Exception().
Referenced by G4GDMLReadDefine::MatrixRead().
Definition at line 68 of file G4GDMLEvaluator.cc.
References eval, FatalException, G4Exception(), name, and variableList.
Referenced by G4GDMLReadDefine::VariableRead().
Definition at line 213 of file G4GDMLEvaluator.cc.
References eval, FatalException, G4Exception(), and SolveBrackets().
Referenced by G4GDMLReadMaterials::AtomRead(), G4GDMLReadStructure::AxisRead(), G4GDMLReadParamvol::Box_dimensionsRead(), G4GDMLReadSolids::BoxRead(), G03ColorReader::ColorRead(), G4GDMLReadParamvol::Cone_dimensionsRead(), G4GDMLReadSolids::ConeRead(), G4GDMLReadDefine::ConstantRead(), G4GDMLReadSolids::CutTubeRead(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadMaterials::DRead(), G4GDMLReadSolids::ElconeRead(), G4GDMLReadMaterials::ElementRead(), G4GDMLReadParamvol::Ellipsoid_dimensionsRead(), G4GDMLReadSolids::EllipsoidRead(), G4GDMLReadSolids::EltubeRead(), EvaluateInteger(), G4GDMLReadDefine::ExpressionRead(), G4GDMLReadMaterials::FractionRead(), G4GDMLReadSolids::GenericPolyconeRead(), G4GDMLReadSolids::GenericPolyhedraRead(), G4GDMLReadSolids::GenTrapRead(), GetConstant(), GetVariable(), G4GDMLReadParamvol::Hype_dimensionsRead(), G4GDMLReadSolids::HypeRead(), G4GDMLReadMaterials::MaterialRead(), G4GDMLReadDefine::MatrixRead(), G4GDMLReadMaterials::MEERead(), G4GDMLReadSolids::OpticalSurfaceRead(), G4GDMLReadParamvol::Orb_dimensionsRead(), G4GDMLReadSolids::OrbRead(), G4GDMLReadParamvol::Para_dimensionsRead(), G4GDMLReadSolids::ParaboloidRead(), G4GDMLReadParamvol::ParameterisedRead(), G4GDMLReadSolids::ParaRead(), G4GDMLReadParamvol::Polycone_dimensionsRead(), G4GDMLReadSolids::PolyconeRead(), G4GDMLReadParamvol::Polyhedra_dimensionsRead(), G4GDMLReadSolids::PolyhedraRead(), G4GDMLReadDefine::PositionRead(), G4GDMLReadMaterials::PRead(), G4GDMLReadSolids::QuadrangularRead(), G4GDMLReadStructure::QuantityRead(), G4GDMLReadDefine::QuantityRead(), G4GDMLReadSolids::ReflectedSolidRead(), G4GDMLReadDefine::RotationRead(), G4GDMLReadSolids::RZPointRead(), G4GDMLReadDefine::ScaleRead(), G4GDMLReadSolids::SectionRead(), G4GDMLReadParamvol::Sphere_dimensionsRead(), G4GDMLReadSolids::SphereRead(), G4GDMLReadSolids::TetRead(), G4GDMLReadParamvol::Torus_dimensionsRead(), G4GDMLReadSolids::TorusRead(), G4GDMLReadParamvol::Trap_dimensionsRead(), G4GDMLReadSolids::TrapRead(), G4GDMLReadParamvol::Trd_dimensionsRead(), G4GDMLReadSolids::TrdRead(), G4GDMLReadMaterials::TRead(), G4GDMLReadSolids::TriangularRead(), G4GDMLReadParamvol::Tube_dimensionsRead(), G4GDMLReadSolids::TubeRead(), G4GDMLReadSolids::TwistedboxRead(), G4GDMLReadSolids::TwistedtrapRead(), G4GDMLReadSolids::TwistedtrdRead(), G4GDMLReadSolids::TwistedtubsRead(), G4GDMLReadSolids::TwoDimVertexRead(), G4GDMLReadDefine::VariableRead(), G4GDMLReadDefine::VectorRead(), G4GDMLReadSolids::XtruRead(), and G4GDMLReadSolids::ZplaneRead().
Definition at line 234 of file G4GDMLEvaluator.cc.
References Evaluate(), FatalException, and G4Exception().
Referenced by G4GDMLReadMaterials::CompositeRead(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadSolids::GenericPolyhedraRead(), G4GDMLReadMaterials::IsotopeRead(), G4GDMLRead::LoopRead(), G4GDMLReadDefine::MatrixRead(), G4GDMLReadSolids::PolyhedraRead(), SolveBrackets(), and G4GDMLReadStructure::Volume_contentRead().
Definition at line 256 of file G4GDMLEvaluator.cc.
References eval, Evaluate(), FatalException, G4Exception(), and IsVariable().
Referenced by G4GDMLReadDefine::GetConstant().
Definition at line 274 of file G4GDMLEvaluator.cc.
References Evaluate(), FatalException, G4Exception(), and IsVariable().
Referenced by G4GDMLReadDefine::GetVariable().
Definition at line 146 of file G4GDMLEvaluator.cc.
References variableList.
Referenced by GetConstant(), GetVariable(), G4GDMLReadDefine::IsValidID(), G4GDMLRead::LoopRead(), and SetVariable().
Definition at line 135 of file G4GDMLEvaluator.cc.
References eval, FatalException, G4Exception(), and IsVariable().
Referenced by G4GDMLRead::LoopRead().
Definition at line 158 of file G4GDMLEvaluator.cc.
References G4String::append(), EvaluateInteger(), FatalException, and G4Exception().
Referenced by Evaluate(), G4GDMLRead::GenerateName(), and G4GDMLRead::GeneratePhysvolName().
|
private |
Definition at line 68 of file G4GDMLEvaluator.hh.
Referenced by Clear(), DefineConstant(), DefineVariable(), Evaluate(), G4GDMLEvaluator(), GetConstant(), and SetVariable().
|
private |
Definition at line 69 of file G4GDMLEvaluator.hh.
Referenced by Clear(), DefineVariable(), and IsVariable().