37 #ifndef GeometricFieldOps_H 38 #define GeometricFieldOps_H 59 class Tout,
class T1,
class UnaryOp,
60 template<
class>
class PatchField,
class GeoMesh
78 const label len = bfld.size();
80 for (label i = 0; i < len; ++i)
97 class Tout,
class T1,
class T2,
class BinaryOp,
98 template<
class>
class PatchField,
class GeoMesh 118 const label len = bfld.size();
120 for (label i = 0; i < len; ++i)
126 b.boundaryField()[i],
137 class T,
class BinaryOp,
138 template<
class>
class PatchField,
class GeoMesh 158 const label len = bfld.size();
160 for (label i = 0; i < len; ++i)
166 b.boundaryField()[i],
180 class T,
class BoolType,
class FlipOp,
181 template<
class>
class PatchField,
class GeoMesh 203 const label len = bfld.size();
205 for (label i = 0; i < len; ++i)
212 b.boundaryField()[i],
const Internal::FieldType & primitiveField() const noexcept
Return a const-reference to the internal field values.
void ternarySelect(Field< T > &result, const BoolListType &cond, const Field< T > &a, const Field< T > &b, const FlipOp &flip)
Emulate a ternary operation, selecting values from a or b depending on the conditional.
Generic GeometricField class.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void assign(Field< Tout > &result, const Field< T1 > &a, const UnaryOp &op)
Populate a field as the result of a unary operation on an input.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void ternary(Field< T > &result, const Field< T > &a, const Field< T > &b, const BinaryOp &bop)
Emulate a ternary operation, selecting values from a or b depending on the binary predicate...
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field values.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.