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

The verdict of fluid_ddpp_admits: ok, or the refusal and its identifier. More...

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

Collaboration diagram for line::fluid::FluidDdppAdmits:

Public Member Functions

void raise () const
 Throws the refusal as the error class its category names.

Public Attributes

bool ok = false
std::string category
 "unsupported" or "numerical" when refused
std::string kind
 the LINE:<category>:<kind> kind
std::string reason

Detailed Description

The verdict of fluid_ddpp_admits: ok, or the refusal and its identifier.

Definition at line 60 of file fluid_ddpp.h.

Member Function Documentation

◆ raise()

void line::fluid::FluidDdppAdmits::raise ( ) const
inline

Throws the refusal as the error class its category names.

Definition at line 67 of file fluid_ddpp.h.

References category, kind, line::NumericError::NumericError(), reason, and line::UnsupportedError::UnsupportedError().

Referenced by line::fluid::solver_fluid_ddpp().

Member Data Documentation

◆ category

std::string line::fluid::FluidDdppAdmits::category

"unsupported" or "numerical" when refused

Definition at line 62 of file fluid_ddpp.h.

Referenced by line::fluid::fluid_ddpp_admits(), line::fluid::fluid_ddpp_hyperbolic(), and raise().

◆ kind

std::string line::fluid::FluidDdppAdmits::kind

the LINE:<category>:<kind> kind

Definition at line 63 of file fluid_ddpp.h.

Referenced by line::fluid::fluid_ddpp_admits(), line::fluid::fluid_ddpp_hyperbolic(), and raise().

◆ ok

bool line::fluid::FluidDdppAdmits::ok = false

◆ reason

std::string line::fluid::FluidDdppAdmits::reason

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