GeometricFieldOps.H File Reference

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

Include dependency graph for GeometricFieldOps.H:

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. More...
 
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. More...
 
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)
 
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)
 

Detailed Description

Various utility functions to work on geometric fields.

Original source file GeometricFieldOps.H

InNamespace Foam::FieldOps

Source files

Definition in file GeometricFieldOps.H.