68 for (i = MPT.begin(); i != MPT.end(); ++i)
83 for (i = MPT.begin(); i != MPT.end(); ++i)
86 if ( (*i).second != 0 )
88 (*i).second->DumpValues();
92 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat204",
93 JustWarning,
"NULL Material Property Vector Pointer.");
97 for (j = MPTC.begin(); j != MPTC.end(); ++j)
100 if ( j->second != 0 )
106 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat202",
117 if (rindex==0) {
return 0; }
137 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"mat205",
151 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"mat205",
159 vg = c_light/(n0+(n1-n0)/std::log(E1/E0));
163 if((vg<0) || (vg>c_light/n0)) { vg = c_light/n0; }
172 vg = c_light/( 0.5*(n0+n1)+(n1-n0)/std::log(E1/E0));
176 if((vg<0) || (vg>c_light/(0.5*(n0+n1)))) { vg = c_light/(0.5*(n0+n1)); }
188 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"mat205",
195 vg = c_light/(n1+(n1-n0)/std::log(E1/E0));
199 if((vg<0) || (vg>c_light/n1)) { vg = c_light/n1; }
G4PhysicsOrderedFreeVector G4MaterialPropertyVector
G4DLLIMPORT std::ostream G4cout
G4MaterialPropertyVector * GetProperty(const char *key)
~G4MaterialPropertiesTable()
G4MaterialPropertiesTable()
G4MaterialPropertyVector * AddProperty(const char *key, G4double *PhotonEnergies, G4double *PropertyValues, G4int NumEntries)
void InsertValues(G4double energy, G4double value)
size_t GetVectorLength() const
G4double Energy(size_t index) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)