celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/user/index.html
Other
58 stars 32 forks source link

Write celer-sim results as 'null' when they're disabled #1223

Closed sethrj closed 2 months ago

sethrj commented 2 months ago

This writes null for track counters and step times if they're disabled. It also removes the call to std::chrono::high_resolution_clock::now() when step timers are disabled (see #1172).

sethrj commented 2 months ago

https://cloud.cees.ornl.gov/jenkins-ci/job/celeritas/job/PR-1223/lastBuild/testReport/