#include <RK4PreciseStep.h>
Definition at line 10 of file RK4PreciseStep.h.
◆ distance()
◆ operator()()
Definition at line 6 of file RK4PreciseStep.cc.
10 const double Safety = 0.9;
11 double remainigStep =
step;
12 double stepSize =
step;
15 std::pair<CartesianState, double> tryStep;
20 if (tryStep.second < eps) {
21 if (remainigStep - stepSize < eps / 2) {
23 std::cout <<
"Accuracy reached, and full step taken in " << nsteps <<
" steps" << std::endl;
26 remainigStep -= stepSize;
32 std::cout <<
"Accuracy reached, but " << remainigStep <<
" remain after " << nsteps
33 <<
" steps. Step size increased by " <<
factor <<
" to " << stepSize << std::endl;
40 std::cout <<
"Accuracy not yet reached: delta = " << tryStep.second <<
", step reduced by " <<
factor <<
" to "
44 }
while (remainigStep > eps / 2);
References gather_cfg::cout, mps_splice::currentStart, DQMScaleToClient_cfi::factor, SiStripPI::max, min(), funct::pow(), command_line::start, stepWithAccuracy(), and verbose().
◆ stepWithAccuracy()
◆ verbose()
bool RK4PreciseStep::verbose |
( |
| ) |
const |
|
private |