OOF2: The Manual
Name
StepErrorScaling — Ways to compute the error for a time step.
Subclasses
Subclasses are listed as they appear in the GUI and (in parentheses) as they appear in scripts.
-
Relative (
RelativeErrorScaling
) -- Errors are scaled by the field magnitude. -
Absolute (
AbsoluteErrorScaling
) -- Errors are not scaled. -
XOver (
XOverErrorScaling
) -- Errors are scaled by the field magnitude, except near zero-crossings. -
Global (
GlobalErrorScaling
) -- Errors are scaled so that the integral over time is constant.
Description
StepErrorScaling
subclasses determine how to
compute the error estimate when solving a SubProblem
with adaptive
time-stepping in AdvancedSolverMode. The
errorscaling
parameter of AdaptiveDriver is a
StepErrorScaling
object. The AdaptiveDriver adjusts the timestep so
that the error estimate returned by the
StepErrorScaling
object is less than, but not
much less than, the given tolerance
.
When a time-evolution calculation with adaptive stepping is failing because the step size is too small, it's often due to a poorly chosen error scaling method.