![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
interval.hh
Go to the documentation of this file.
std::ostream & operator<<(std::ostream &s, const Interval< field_type > &interval)
Output operator for Interval.
Definition interval.hh:71
const field_type & operator[](int i) const
Const array-like access.
Definition interval.hh:27
field_type projectIn(const field_type &x) const
Project a scalar onto the interval.
Definition interval.hh:34
field_type projectFromBelow(const field_type &x) const
Fast projection onto the interval if you know that your value is smaller than your upper bound.
Definition interval.hh:42
bool containsZero(const field_type &safety) const
Return true if zero is contained in the interval.
Definition interval.hh:58
field_type projectFromAbove(const field_type &x) const
Fast projection onto the interval if you know that your value is larger than your lower bound.
Definition interval.hh:50
T max(T... args)
T min(T... args)
