Go to the documentation of this file.
21 #ifndef __IncludeMask_hpp__
22 #define __IncludeMask_hpp__
38 return val > compVal; }
48 return val >= compVal; }
58 return val < compVal; }
68 return val <= compVal; }
78 return equal(val , compVal); }
88 bool operator()(
const T &compVal1,
const T &compVal2 ,
const T &val)
const {
89 return val>compVal1 && val<compVal2; }
99 bool operator()(
const T &compVal1,
const T &compVal2 ,
const T &val)
const {
100 return val>=compVal1 && val<=compVal2; }
114 template<
typename T,
template<
class>
class Operator>
139 template<
typename T,
template<
class>
class Operator>
164 template<
typename T,
typename Operator>
180 template<
typename T,
typename Operator>
261 #endif //__IncludeMask_hpp__
bool operator()(const T &compVal, const T &val) const
IncludeMask(const dictionary &dict, const word &opType, readFromTimeFolder &timeFolder)
Operator< T > opertorType
uint32 size() const override
hostViewType1D< T > field_
INLINE_FUNCTION_HD bool equal(const box &b1, const box &b2, real tol=smallValue)
bool operator()(const T &compVal1, const T &compVal2, const T &val) const
bool isIncluded(int32 n) const override
TypeInfoNV("greaterThanEq")
TypeInfoTemplate12("IncludeMask", T, Operator)
TypeInfoNV("greaterThan")
bool isIncluded(int32 n) const override
bool operator()(const T &value) const
uniquePtr< pointField_H< T > > fieldPtr_
IncludeMask(const dictionary &dict, const word &opType, readFromTimeFolder &timeFolder)
add_vCtor(includeMask, IncludeMask, dictionary)
bool operator()(const T &compVal, const T &val) const
bool operator()(const T &compVal, const T &val) const
uint32 size() const override
TypeInfoNV(Operator::TYPENAME())
Kokkos::View< T *, Kokkos::HostSpace > hostViewType1D
1D array (vector with host memeory space)
compareZero(const dictionary &dict)
bool operator()(const T &compVal, const T &val) const
bool operator()(const T &compVal, const T &val) const
Operator< T > opertorType
bool operator()(const T &value) const
bool operator()(const T &compVal1, const T &compVal2, const T &val) const
compareTwo(const dictionary &dict)
TypeInfoNV(Operator< T >::TYPENAME())
TypeInfoNV(opertorType::TYPENAME())
compareOne(const dictionary &dict)
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
bool operator()(const T &value) const