a structure in charge of describing bounds on a variable. Two kinds of bounds are considered:
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/VariableBoundsDescription.hxx>
|
| enum | BoundsType { LOWER
, UPPER
, LOWERANDUPPER
} |
| | bounds type
|
|
|
BoundsType | boundsType |
| | type of the bound
|
|
long double | lowerBound = std::numeric_limits<long double>::min() |
|
long double | upperBound = std::numeric_limits<long double>::max() |
|
short | component = -1 |
|
size_t | lineNumber = 0u |
a structure in charge of describing bounds on a variable. Two kinds of bounds are considered:
- physical bounds: give the bounds out of which this variable is not physically defined. For example, a temperature must be positive.
- (standard) bounds: give the bounds out of which the correlation has not been identified.
◆ hasLowerBound()
| bool mfront::VariableBoundsDescription::hasLowerBound |
( |
| ) |
const |
|
nodiscard |
- Returns
- true if the bounds type is either LOWER or LOWERANDUPPER
◆ hasUpperBound()
| bool mfront::VariableBoundsDescription::hasUpperBound |
( |
| ) |
const |
|
nodiscard |
- Returns
- true if the bounds type is either UPPER or LOWERANDUPPER
The documentation for this struct was generated from the following file: