We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 621f769 + b17e810 commit 6db5fa6Copy full SHA for 6db5fa6
1 file changed
gemc/gphysics/gphysics.cc
@@ -56,12 +56,12 @@ GPhysics::GPhysics(const std::shared_ptr<GOptions>& gopts) :
56
57
physList = factory.GetReferencePhysList(g4physList);
58
59
+ if (!physList) { log->error(ERR_PHYSLISTERROR, "physics list <" + gphysList + "> could not be loaded."); }
60
+
61
// Register step limiters (module default add-on).
62
// This is intentionally registered even when users select a standard reference list.
63
physList->RegisterPhysics(new G4StepLimiterPhysics());
64
- if (!physList) { log->error(ERR_PHYSLISTERROR, "physics list <" + gphysList + "> could not be loaded."); }
-
65
log->info(2, "G4PhysListFactory: <" + g4physList + "> loaded.");
66
}
67
0 commit comments