Go to the documentation of this file.
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],
void ternary(Field< T > &result, const Field< T > &a, const Field< T > &b, const BinaryOp &bop)
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
void ternarySelect(Field< T > &result, const BoolListType &cond, const Field< T > &a, const Field< T > &b, const FlipOp &flip)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
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.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.