129 for (i =
MPT.begin(); i !=
MPT.end(); ++i)
137 for (it =
MP.begin(); it !=
MP.end(); ++
it)
163 ed <<
"Constant Material Property Index for key " << key <<
" not found.";
164 G4Exception(
"G4MaterialPropertiesTable::GetConstPropertyIndex()",
"mat206",
180 ed <<
"Material Property Index for key " << key <<
" not found.";
181 G4Exception(
"G4MaterialPropertiesTable::GetPropertyIndex()",
"mat207",
194 if ( j !=
MCP.end() )
return j->second;
196 ed <<
"Constant Material Property Index " << index <<
" not found.";
197 G4Exception(
"G4MaterialPropertiesTable::GetConstProperty()",
"mat202",
218 if ( j !=
MCP.end() )
return true;
236 if ( i !=
MP.end() )
return i->second;
239 ed <<
"Material Property for index " << index <<
" not found.";
240 G4Exception(
"G4MaterialPropertiesTable::GetPropertyIndex()",
"mat208",
264 PropertyValues, NumEntries);
313 if (targetVector !=
nullptr)
315 targetVector->
InsertValues(aPhotonEnergy, aPropertyValue);
319 G4Exception(
"G4MaterialPropertiesTable::AddEntry()",
"mat203",
328 for (i =
MP.begin(); i !=
MP.end(); ++i)
331 if ( (*i).second != 0 )
333 (*i).second->DumpValues();
337 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat204",
338 JustWarning,
"NULL Material Property Vector Pointer.");
343 for (j =
MCP.begin(); j !=
MCP.end(); ++j)
346 if ( j->second != 0 )
352 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat202",
358 #ifdef G4MULTITHREADED
367 #ifdef G4MULTITHREADED
377 if(itr !=
MP.end())
return itr->second;
382 if (rindex==0) {
return 0; }
386 if ( rindex->GetVectorLength() == 0 ) {
return 0; }
400 G4Exception(
"G4MaterialPropertiesTable::CalculateGROUPVEL()",
"mat205",
404 if ( rindex->GetVectorLength() >= 2 )
414 G4Exception(
"G4MaterialPropertiesTable::CalculateGROUPVEL()",
"mat205",
433 for (
size_t i = 2; i < rindex->GetVectorLength(); i++)
446 E1 = rindex->Energy(i);
451 G4Exception(
"G4MaterialPropertiesTable::CalculateGROUPVEL()",
"mat205",
477 G4String message(
"SetGROUPVEL will be obsolete from the next release ");
478 message +=
"Use G4MaterialPropertiesTable::CalculateGROUPVEL() instead";
480 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"Obsolete",
485 std::map< G4String, G4MaterialPropertyVector*, std::less<G4String> >*
489 G4String message(
"GetPropertiesMap will be obsolete from the next release ");
490 message +=
"Use G4MaterialPropertiesTable::GetPropertyMap() instead";
491 G4Exception(
"G4MaterialPropertiesTable::GetPropertiesMap()",
"Obsolete",
500 G4Exception(
"G4MaterialPropertiesTable::GetPropertiesMap()",
"NullPointer",
501 JustWarning,
"Null Pointer for Material Property");
511 G4String message(
"GetPropertiesCMap will be obsolete from the next release ");
512 message +=
"Use G4MaterialPropertiesTable::GetConstPropertyMap() instead";
513 G4Exception(
"G4MaterialPropertiesTable::GetPropertiesCMap()",
"Obsolete",