Various utility functions to work on geometric fields. More...

Go to the source code of this file.
Namespaces | |
| namespace | Foam |
| Namespace for OpenFOAM. | |
| namespace | Foam::FieldOps |
| Various utility functions to work on Fields. | |
Functions | |
| template<class Tout, class T1, class UnaryOp, template< class > class PatchField, class GeoMesh> | |
| void | assign (GeometricField< Tout, PatchField, GeoMesh > &result, const GeometricField< T1, PatchField, GeoMesh > &a, const UnaryOp &op) |
| Populate a geometric field as the result of a unary operation on an input. | |
| template<class Tout, class T1, class T2, class BinaryOp, template< class > class PatchField, class GeoMesh> | |
| void | assign (GeometricField< Tout, PatchField, GeoMesh > &result, const GeometricField< T1, PatchField, GeoMesh > &a, const GeometricField< T2, PatchField, GeoMesh > &b, const BinaryOp &bop) |
| Populate a geometric field from the binary operation on two inputs. | |
| template<class T, class BinaryOp, template< class > class PatchField, class GeoMesh> | |
| void | ternary (GeometricField< T, PatchField, GeoMesh > &result, const GeometricField< T, PatchField, GeoMesh > &a, const GeometricField< T, PatchField, GeoMesh > &b, const BinaryOp &bop) |
| Emulate a ternary operation, selecting values from a or b depending on the binary predicate. | |
| template<class T, class BoolType, class FlipOp, template< class > class PatchField, class GeoMesh> | |
| void | ternarySelect (GeometricField< T, PatchField, GeoMesh > &result, const GeometricField< BoolType, PatchField, GeoMesh > &cond, const GeometricField< T, PatchField, GeoMesh > &a, const GeometricField< T, PatchField, GeoMesh > &b, const FlipOp &flip) |
| Emulate a ternary operation, selecting field values from a or b depending on the conditional. | |
Various utility functions to work on geometric fields.
Original source file GeometricFieldOps.H
InNamespace Foam::FieldOps
Definition in file GeometricFieldOps.H.