Skip to content

Commit

Permalink
Add line in help and increase precision for overlap checks
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Jan 23, 2024
1 parent a42f7ed commit 602cd78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/nexus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ void PrintUsage()
G4cerr << "Available options:" << G4endl;
G4cerr << " -b, --batch : Run in batch mode (default)\n"
<< " -i, --interactive : Run in interactive mode\n"
<< " -o, --overlap-check : Turn warnings into exceptions and increase precision in overlap check\n"
<< " -n, --nevents : Number of events to simulate\n"
<< " -p, --precision : Number of significant figures in verbosity"
<< G4endl;
Expand Down Expand Up @@ -125,6 +126,7 @@ G4int main(int argc, char** argv)
G4UImanager* UI = G4UImanager::GetUIpointer();

if (overlap_check) {
UI->ApplyCommand("/geometry/test/resolution 1000000");
UI->ApplyCommand("/geometry/test/run");
}

Expand Down

0 comments on commit 602cd78

Please sign in to comment.