6 #include "includes/define.h"
7 #include "includes/kratos_parameters.h"
24 template <
class TValue>
65 TValue GetIntervalEnd() const noexcept;
68 bool IsInInterval(TValue Value) const noexcept;
70 static Parameters GetDefaultParameters();
73 std::
string Info() const;
76 void PrintInfo(
std::ostream& rOStream) const;
79 void PrintData(
std::ostream& rOStream) const;
90 void SetBoundaries(TValue begin, TValue end) noexcept;
99 template <class TValue>
102 rThis.PrintInfo(rOStream);
104 rThis.PrintData(rOStream);
Utility class for membership tests on a 1D interval.
Definition: IntervalUtility.hpp:26
IntervalUtility(IntervalUtility &&rOther)=default
TValue GetIntervalBegin() const noexcept
KRATOS_CLASS_POINTER_DEFINITION(IntervalUtility)
IntervalUtility(const IntervalUtility &rOther)=default
IntervalUtility(Parameters Settings)
Construct from parameters containing "interval".
IntervalUtility()
Default constructor initializing boundaries to "Begin" and "End".
Definition: MPIUtils.hpp:9
Definition: CheckpointID.hpp:68