MinMaxOps.H File Reference

Global functions and operators related to the MinMax class. Included by MinMax.H. More...

Include dependency graph for MinMaxOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clipOp< T >
 Return the value after clipping by the min/max limiter. More...
 
struct  clipEqOp< T >
 Clip value and assign inplace. 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

namespace  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 clipping by the min/max limiter. More...
 
template<class T >
MinMax< TminMax (const UList< T > &vals)
 Extract the min/max range from a list of values. More...
 
template<class T >
MinMax< TminMax (const T &x, const T &y)
 Combine two values to create a min/max range. Order is unimportant. More...
 
template<class T >
MinMax< TminMax (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 an initial single value. More...
 
template<class Form , class Cmpt , direction nCmpt>
scalarMinMax minMaxMag (const VectorSpace< Form, Cmpt, nCmpt > &vs)
 The magnitude of from an initial 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)
 
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< Toperator+ (const MinMax< T > &x, const MinMax< T > &y)
 Combine two ranges. More...
 
template<class T >
MinMax< Toperator* (const MinMax< T > &x, const scalar &s)
 Multiply range by scalar factor. More...
 
template<class T >
MinMax< Toperator/ (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)
 

Detailed Description

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.