reuseTmpGeometricField< TypeR, Type1, PatchField, GeoMesh > Struct Template Reference

Static Public Member Functions

static tmp< GeometricField< TypeR, PatchField, GeoMesh > > New (const GeometricField< Type1, PatchField, GeoMesh > &f1, const word &name, const dimensionSet &dimensions)
 Pass-through to New GeometricField. More...
 
static tmp< GeometricField< TypeR, PatchField, GeoMesh > > New (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions)
 Dissimilar types: return new field. More...
 

Detailed Description

template<class TypeR, class Type1, template< class > class PatchField, class GeoMesh>
struct Foam::reuseTmpGeometricField< TypeR, Type1, PatchField, GeoMesh >

Definition at line 84 of file GeometricFieldReuseFunctions.H.

Member Function Documentation

◆ New() [1/2]

static tmp<GeometricField<TypeR, PatchField, GeoMesh> > New ( const GeometricField< Type1, PatchField, GeoMesh > &  f1,
const word name,
const dimensionSet dimensions 
)
inlinestatic

Pass-through to New GeometricField.

Definition at line 90 of file GeometricFieldReuseFunctions.H.

References DimensionedField< Type, GeoMesh >::mesh(), Foam::name(), and GeometricField< Type, PatchField, GeoMesh >::New().

Referenced by Foam::clamp(), Foam::cmptAv(), Foam::mag(), Foam::magSqr(), Foam::New(), Foam::pow(), and Foam::sqr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ New() [2/2]

static tmp<GeometricField<TypeR, PatchField, GeoMesh> > New ( const tmp< GeometricField< Type1, PatchField, GeoMesh >> &  tf1,
const word name,
const dimensionSet dimensions 
)
inlinestatic

Dissimilar types: return new field.

Definition at line 108 of file GeometricFieldReuseFunctions.H.

References DimensionedField< Type, GeoMesh >::mesh(), Foam::name(), and GeometricField< Type, PatchField, GeoMesh >::New().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: