MCPcopy Create free account
hub / github.com/Geant4/geant4 / GetProcess

Method GetProcess

source/processes/management/src/G4ProcessManager.cc:1185–1193  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1183
1184// --------------------------------------------------------------------
1185G4VProcess* G4ProcessManager::GetProcess(const G4String& processName) const
1186{
1187 for (G4int k=0; k<numberOfProcesses; ++k)
1188 {
1189 G4VProcess* process = (*theProcessList)[k];
1190 if (process->GetProcessName() == processName) return process;
1191 }
1192 return nullptr;
1193}
1194
1195// --------------------------------------------------------------------
1196G4VProcess* G4ProcessManager::SetProcessActivation(G4VProcess* aProcess,

Callers 7

InsertMethod · 0.45
RemoveMethod · 0.45
FindProcessMethod · 0.45
FindMethod · 0.45
ExtractProcessesMethod · 0.45
SetProcessActivationMethod · 0.45
DumpInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected