72 return a.
value() <
b.value();
143 bool equal(scalar val)
const noexcept
145 return ((val_ > val - SMALL) && (val_ < val + SMALL));
152 return (*this).equal(other.value());
159template<
class T1,
class T2>
162 return a.equal(
b.value());
166template<
class T1,
class T2>
169 return !a.equal(
b.value());
173template<
class T1,
class T2>
176 return (a.value() <
b.value());
180template<
class T1,
class T2>
183 return (
b.value() < a.value());
A tuple of scalar value and key. The value often corresponds to a time value, thus the naming of the ...
Instant(scalar val, T &&key)
Move construct from components.
Instant & operator=(Instant &&)=default
Move assignment.
Instant(const Instant &)=default
Copy construct.
T & name() noexcept
The name/key (non-const access)
scalar value() const noexcept
The value (const access)
Instant()
Default construct, with value = 0 and empty name.
const T & name() const noexcept
The name/key (const access)
Instant(scalar val, const T &key)
Copy construct from components.
scalar & value() noexcept
The value (non-const access)
Instant(Instant &&)=default
Move construct.
bool equal(const Instant< T2 > &other) const noexcept
True if values are equal (includes SMALL for rounding)
Instant & operator=(const Instant &)=default
Copy assignment.
bool equal(scalar val) const noexcept
True if values are equal (includes SMALL for rounding)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
OBJstream os(runTime.globalPath()/outputName)
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Istream & operator>>(Istream &, directionInfo &)
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
bool operator>(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A newer than B.
Less function for sorting.
bool operator()(const Instant &a, const Instant &b) const noexcept