Celeritas
0.5.0-56+6b053cd
|
Count the number of invocations to the field stepper. More...
#include <DiagnosticStepper.hh>
Public Types | |
Type aliases | |
using | result_type = typename StepperT::result_type |
using | size_type = std::size_t |
Public Member Functions | |
template<class... Args> | |
DiagnosticStepper (Args &&... args) | |
Forward construction arguments to the original stepper. | |
result_type | operator() (real_type step, OdeState const &beg_state) const |
Calculate a step and increment the counter. | |
size_type | count () const |
Get the number of steps. | |
void | reset_count () |
Reset the stepscounter. | |
Count the number of invocations to the field stepper.
This helps diagnose how many times the field driver advances a step.