Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -214,7 +214,7 @@ G4ProcessTableMessenger::SetNewValue(G4UIcommand* command, G4String newValue)
// check 2nd argument
currentProcessTypeName = G4String(next());
if (currentProcessTypeName.isNull()) currentProcessTypeName = "all";
if (currentProcessTypeName.empty()) currentProcessTypeName = "all";
G4bool isProcName = false;
G4bool isAll = false;
type = -1;
@@ -416,7 +416,7 @@ void G4ProcessTableMessenger::SetNumberOfProcessType()
for (idx = 0; idx < 1000 ; ++idx )
{
G4String typeName = G4VProcess::GetProcessTypeName(G4ProcessType(idx));
isFoundEndMark = typeName.contains("---");
isFoundEndMark = G4StrUtil::contains(typeName, "---");
if ( isFoundEndMark ) break;
}
if ( isFoundEndMark )