LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::fluid::FluidNonHyperbolicError Class Reference

Raised when the moment closure cannot serve this model: the linearization at the fixed point is not hyperbolic, or the drift has left the simplex. More...

#include <line/solvers/fluid/fluid_nonhyperbolic.h>

Inheritance diagram for line::fluid::FluidNonHyperbolicError:
Collaboration diagram for line::fluid::FluidNonHyperbolicError:

Public Member Functions

 FluidNonHyperbolicError (const std::string &what)
Public Member Functions inherited from line::NumericError
 NumericError (const std::string &what)
Public Member Functions inherited from line::Error
 Error (const std::string &what)

Detailed Description

Raised when the moment closure cannot serve this model: the linearization at the fixed point is not hyperbolic, or the drift has left the simplex.

A non-hyperbolic fixed point cannot be detected before the mean is solved, so fluid_minnormal_applicable cannot decline it in advance; the runner catches THIS exception, and only this one, to fall back to a first-order method when the moment closure was RESOLVED from default rather than asked for by name. Catching a plain NumericError there would also swallow a singular Jacobian or a failed integration, which are defects and not model properties.

Definition at line 32 of file fluid_nonhyperbolic.h.

Constructor & Destructor Documentation

◆ FluidNonHyperbolicError()

line::fluid::FluidNonHyperbolicError::FluidNonHyperbolicError ( const std::string & what)
inlineexplicit

The documentation for this class was generated from the following file: