61 return range.clip(val);
72 return range.clip(val);
83 return range.inplaceClip(val);
167template<
class Form,
class Cmpt, direction nCmpt>
179 for (
const T& val : vals)
222template<
class T1,
class T2>
243 template<
class T1,
class T2>
277 for (
const T& val :
y)
315template<
class T,
class U>
316inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
319 return (
range.compare(val) < 0);
322template<
class T,
class U>
323inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
326 return (
range.compare(val) <= 0);
329template<
class T,
class U>
330inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
333 return (
range.compare(val) > 0);
336template<
class T,
class U>
337inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
340 return (
range.compare(val) >= 0);
344template<
class T,
class U>
345inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
348 return (
range.compare(val) > 0);
351template<
class T,
class U>
352inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
355 return (
range.compare(val) >= 0);
358template<
class T,
class U>
359inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
362 return (
range.compare(val) < 0);
365template<
class T,
class U>
366inline typename std::enable_if<std::is_convertible<U, T>::value,
bool>
::type
369 return (
range.compare(val) <= 0);
A min/max value pair with additional methods. In addition to conveniently storing values,...
MinMax< T > & add(const MinMax &other)
Extend the range to include the other min/max range.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
dimensionSet clip(const dimensionSet &ds1, const dimensionSet &ds2)
bool operator<=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or older than B.
tmp< faMatrix< Type > > operator+(const faMatrix< Type > &, const faMatrix< Type > &)
bool operator>=(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A same or newer than B.
MinMax< scalar > scalarMinMax
A scalar min/max range.
tmp< faMatrix< Type > > operator*(const areaScalarField::Internal &, const faMatrix< Type > &)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
bool operator<(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A older than B.
dimensioned< scalarMinMax > minMaxMag(const DimensionedField< Type, GeoMesh > &df)
bool operator>(const IOstreamOption::versionNumber &a, const IOstreamOption::versionNumber &b) noexcept
Version A newer than B.
Clip value and assign inplace.
bool operator()(T &val, const MinMax< T > &range) const
Return the value after clipping by the min/max limiter.
T operator()(T &val, const MinMax< T > &range) const
Combine assignment for MinMax range.
MinMax< T > & operator()(MinMax< T > &x, const T &y) const
MinMax< T > & operator()(MinMax< T > &x, const UList< T > &y) const
MinMax< T > & operator()(MinMax< T > &x, const MinMax< T > &y) const
Combine assignment for MinMax range.
scalarMinMax & operator()(scalarMinMax &x, const MinMax< T > &y) const
scalarMinMax & operator()(scalarMinMax &x, const T &y) const
scalarMinMax & operator()(scalarMinMax &x, const UList< T > &y) const
Scalar combine the magitude of a value.
scalarMinMax operator()(const MinMax< T1 > &x, const MinMax< T2 > &y) const
scalarMinMax operator()(const scalarMinMax &x, const T &y) const
Combine values and/or MinMax ranges.
MinMax< T > operator()(const T &x, const MinMax< T > &y) const
MinMax< T > operator()(const T &x, const T &y) const
MinMax< T > operator()(const MinMax< T > &x, const MinMax< T > &y) const
MinMax< T > operator()(const MinMax< T > &x, const T &y) const