Geant4.10
|
#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 &) |
Definition at line 47 of file G4GDMLEvaluator.hh.
G4GDMLEvaluator::G4GDMLEvaluator | ( | ) |
Definition at line 41 of file G4GDMLEvaluator.cc.
References python.hepunit::ampere, python.hepunit::candela, HepTool::Evaluator::clear(), python.hepunit::kelvin, python.hepunit::kilogram, python.hepunit::meter, python.hepunit::mole, python.hepunit::second, HepTool::Evaluator::setStdMath(), and HepTool::Evaluator::setSystemOfUnits().
void G4GDMLEvaluator::Clear | ( | ) |
Definition at line 48 of file G4GDMLEvaluator.cc.
References python.hepunit::ampere, python.hepunit::candela, HepTool::Evaluator::clear(), python.hepunit::kelvin, python.hepunit::kilogram, python.hepunit::meter, python.hepunit::mole, python.hepunit::second, HepTool::Evaluator::setStdMath(), and HepTool::Evaluator::setSystemOfUnits().
Referenced by G4GDMLReadStructure::Clear().
Definition at line 57 of file G4GDMLEvaluator.cc.
References FatalException, HepTool::Evaluator::findVariable(), G4Exception(), and HepTool::Evaluator::setVariable().
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 FatalException, HepTool::Evaluator::findVariable(), G4Exception(), and HepTool::Evaluator::setVariable().
Referenced by G4GDMLReadDefine::VariableRead().
Definition at line 213 of file G4GDMLEvaluator.cc.
References HepTool::Evaluator::evaluate(), FatalException, G4Exception(), HepTool::Evaluator::OK, HepTool::Evaluator::print_error(), SolveBrackets(), and HepTool::Evaluator::status().
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 Evaluate(), FatalException, HepTool::Evaluator::findVariable(), 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.
Referenced by GetConstant(), GetVariable(), G4GDMLReadDefine::IsValidID(), G4GDMLRead::LoopRead(), and SetVariable().
Definition at line 135 of file G4GDMLEvaluator.cc.
References FatalException, G4Exception(), IsVariable(), and HepTool::Evaluator::setVariable().
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().