Global functions and operators related to the MinMax class. Included by MinMax.H. More...
Go to the source code of this file.
Classes | |
struct | clampOp< T > |
Unary function for applying component-wise clamping. More... | |
struct | minMaxOp< T > |
Combine values and/or MinMax ranges. More... | |
struct | minMaxEqOp< T > |
Combine assignment for MinMax range. More... | |
struct | minMaxMagOp< T > |
Scalar combine the magitude of a value. More... | |
struct | minMaxMagEqOp< T > |
Combine assignment for MinMax range. More... | |
Namespaces | |
Foam | |
Namespace for OpenFOAM. | |
Functions | |
template<class T > | |
scalar | mag (const MinMax< T > &range) |
The mag() function for min/max range. More... | |
template<class T > | |
T | clip (const T &val, const MinMax< T > &range) |
Return the value after clamping by the min/max limiter. More... | |
template<class T > | |
MinMax< T > | minMax (const UList< T > &vals) |
Extract the min/max range from a list of values. More... | |
template<class T > | |
MinMax< T > | minMax (const T &x, const T &y) |
Combine two values to create a min/max range. Order is unimportant. More... | |
template<class T > | |
MinMax< T > | minMax (const MinMax< T > &x, const MinMax< T > &y) |
Combine two MinMax ranges (same as x + y) More... | |
scalarMinMax | minMaxMag (const scalar val) |
The magnitude of a single value. More... | |
template<class Form , class Cmpt , direction nCmpt> | |
scalarMinMax | minMaxMag (const VectorSpace< Form, Cmpt, nCmpt > &vs) |
The magnitude of a VectorSpace. More... | |
template<class T > | |
scalarMinMax | minMaxMag (const UList< T > &vals) |
The min/max magnitudes from a list of values. More... | |
template<class T > | |
scalarMinMax | minMaxMag (const MinMax< T > &range) |
The min/max magnitudes from a min/max range. More... | |
template<class T > | |
scalarMinMax | minMaxMag (const T &x, const T &y) |
Combine the magitude of two values to create a min/max range. Order is unimportant. More... | |
template<class T > | |
scalarMinMax | minMaxMag (const MinMax< T > &x, const MinMax< T > &y) |
Scalar combine two MinMax ranges of same type. More... | |
template<class T1 , class T2 > | |
scalarMinMax | minMaxMag (const MinMax< T1 > &x, const MinMax< T2 > &y) |
Scalar combine two MinMax ranges of dissimilar types. More... | |
template<class T > | |
MinMax< T > | operator+ (const MinMax< T > &x, const MinMax< T > &y) |
Combine two ranges. More... | |
template<class T > | |
MinMax< T > | operator* (const MinMax< T > &x, const scalar &s) |
Multiply range by scalar factor. More... | |
template<class T > | |
MinMax< T > | operator/ (const MinMax< T > &x, const scalar &s) |
Divide range by scalar factor. More... | |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator< (const MinMax< T > &range, const U &val) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator<= (const MinMax< T > &range, const U &val) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator> (const MinMax< T > &range, const U &val) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator>= (const MinMax< T > &range, const U &val) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator< (const U &val, const MinMax< T > &range) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator<= (const U &val, const MinMax< T > &range) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator> (const U &val, const MinMax< T > &range) |
template<class T , class U > | |
std::enable_if< std::is_convertible< U, T >::value, bool >::type | operator>= (const U &val, const MinMax< T > &range) |
Global functions and operators related to the MinMax class. Included by MinMax.H.
Original source file MinMaxOps.H
InNamespace Foam
Definition in file MinMaxOps.H.