13 #include <system_error>
20 StepSizeAdjustmentFailed = 3
28 const char*
name() const noexcept final {
return "EigenStepperError"; }
31 switch (static_cast<EigenStepperError>(
c)) {
32 case EigenStepperError::StepSizeStalled:
33 return "Step size fell below minimum threshold";
34 case EigenStepperError::StepInvalid:
35 return "Step calculation was invalid";
36 case EigenStepperError::StepSizeAdjustmentFailed:
37 return "Step size adjustment exceeds maximum trials";