Definition in file GeometricFieldFunctions.C.
#include "src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldReuseFunctions.H"
#include "src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricFieldFunctionsM.C"
#include "src/OpenFOAM/fields/Fields/Field/undefFieldFunctionsM.H"
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Defines | |
#define | TEMPLATE template<class Type, template<class> class PatchField, class GeoMesh> |
#define | UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY(returnType, func, gFunc) |
#define | UNARY_REDUCTION_FUNCTION(returnType, func, gFunc) |
#define | PRODUCT_OPERATOR(product, op, opFunc) |
Functions | |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | component (GeometricField< typename GeometricField< Type, PatchField, GeoMesh >::cmptType, PatchField, GeoMesh > &gcf, const GeometricField< Type, PatchField, GeoMesh > &gf, const direction d) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | T (GeometricField< Type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1) |
template<class Type , template< class > class PatchField, class GeoMesh , int r> | |
void | pow (GeometricField< typename powProduct< Type, r >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1) |
template<class Type , template< class > class PatchField, class GeoMesh , int r> | |
tmp< GeometricField< typename powProduct< Type, r >::type, PatchField, GeoMesh > > | pow (const GeometricField< Type, PatchField, GeoMesh > &gf, typename powProduct< Type, r >::type) |
template<class Type , template< class > class PatchField, class GeoMesh , int r> | |
tmp< GeometricField< typename powProduct< Type, r >::type, PatchField, GeoMesh > > | pow (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf, typename powProduct< Type, r >::type) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | sqr (GeometricField< typename outerProduct< Type, Type >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< typename outerProduct< Type, Type > ::type, PatchField, GeoMesh >> | sqr (const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< typename outerProduct< Type, Type > ::type, PatchField, GeoMesh >> | sqr (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | magSqr (GeometricField< scalar, PatchField, GeoMesh > &gsf, const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< scalar, PatchField, GeoMesh > > | magSqr (const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< scalar, PatchField, GeoMesh > > | magSqr (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | mag (GeometricField< scalar, PatchField, GeoMesh > &gsf, const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< scalar, PatchField, GeoMesh > > | mag (const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< scalar, PatchField, GeoMesh > > | mag (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
void | cmptAv (GeometricField< typename GeometricField< Type, PatchField, GeoMesh >::cmptType, PatchField, GeoMesh > &gcf, const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< typename GeometricField< Type, PatchField, GeoMesh > ::cmptType, PatchField, GeoMesh >> | cmptAv (const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
tmp< GeometricField< typename GeometricField< Type, PatchField, GeoMesh > ::cmptType, PatchField, GeoMesh >> | cmptAv (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
dimensioned< Type > | max (const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
dimensioned< Type > | max (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf1) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
dimensioned< Type > | min (const GeometricField< Type, PatchField, GeoMesh > &gf) |
template<class Type , template< class > class PatchField, class GeoMesh > | |
dimensioned< Type > | min (const tmp< GeometricField< Type, PatchField, GeoMesh > > &tgf1) |
#define TEMPLATE template<class Type, template<class> class PatchField, class GeoMesh> |
Definition at line 28 of file GeometricFieldFunctions.C.
#define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY | ( | returnType, | |
func, | |||
gFunc | |||
) |
\ template<class Type, template<class> class PatchField, class GeoMesh> \ dimensioned<returnType> func \ ( \ const GeometricField<Type, PatchField, GeoMesh>& gf \ ) \ { \ return dimensioned<Type> \ ( \ #func "(" + gf.name() + ')', \ gf.dimensions(), \ Foam::func(gFunc(gf.internalField()), gFunc(gf.boundaryField())) \ ); \ } \ \ template<class Type, template<class> class PatchField, class GeoMesh> \ dimensioned<returnType> func \ ( \ const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1 \ ) \ { \ dimensioned<returnType> res = func(tgf1()); \ tgf1.clear(); \ return res; \ }
Definition at line 478 of file GeometricFieldFunctions.C.
#define UNARY_REDUCTION_FUNCTION | ( | returnType, | |
func, | |||
gFunc | |||
) |
\ template<class Type, template<class> class PatchField, class GeoMesh> \ dimensioned<returnType> func \ ( \ const GeometricField<Type, PatchField, GeoMesh>& gf \ ) \ { \ return dimensioned<Type> \ ( \ #func "(" + gf.name() + ')', \ gf.dimensions(), \ gFunc(gf.internalField()) \ ); \ } \ \ template<class Type, template<class> class PatchField, class GeoMesh> \ dimensioned<returnType> func \ ( \ const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1 \ ) \ { \ dimensioned<returnType> res = func(tgf1()); \ tgf1.clear(); \ return res; \ }
Definition at line 511 of file GeometricFieldFunctions.C.
#define PRODUCT_OPERATOR | ( | product, | |
op, | |||
opFunc | |||
) |
Definition at line 574 of file GeometricFieldFunctions.C.