WRApplication
External kratos "application" for multiscale time integration.
|
Utility class for membership tests on a 1D interval. More...
Public Member Functions | |
KRATOS_CLASS_POINTER_DEFINITION (IntervalUtility) | |
IntervalUtility () | |
Default constructor initializing boundaries to "Begin" and "End". More... | |
IntervalUtility (Parameters Settings) | |
Construct from parameters containing "interval". More... | |
IntervalUtility (IntervalUtility &&rOther)=default | |
IntervalUtility (const IntervalUtility &rOther)=default | |
TValue | GetIntervalBegin () const noexcept |
TValue | GetIntervalEnd () const noexcept |
bool | IsInInterval (TValue Value) const noexcept |
Check whether the input value is within the defined closed interval [Begin, End]. More... | |
std::string | Info () const |
Return information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Static Public Member Functions | |
static Parameters | GetDefaultParameters () |
Utility class for membership tests on a 1D interval.
IntervalUtility | ( | ) |
Default constructor initializing boundaries to "Begin" and "End".
IntervalUtility | ( | Parameters | Settings | ) |
Construct from parameters containing "interval".
"interval" is expected as an array with exactly 2 items, defining the begin and end of the interval respectively. The first item can either be a numeric value or "Begin" (setting the smallest representable value of TValue), while the second one can be a numeric value or "End" (setting the highest representable value of TValue).
If | Settings has "interval" but has invalid value:
|
|
default |
|
default |
|
static |
|
noexcept |
|
noexcept |
std::string Info | ( | ) | const |
Return information as a string.
|
noexcept |
Check whether the input value is within the defined closed interval [Begin, End].
KRATOS_CLASS_POINTER_DEFINITION | ( | IntervalUtility< TValue > | ) |
void PrintData | ( | std::ostream & | rOStream | ) | const |
Print object's data.
void PrintInfo | ( | std::ostream & | rOStream | ) | const |
Print information about this object.