reuseTmpDimensionedField< TypeR, Type1, GeoMesh > Struct Template Reference

Static Public Member Functions

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

Detailed Description

template<class TypeR, class Type1, class GeoMesh>
struct Foam::reuseTmpDimensionedField< TypeR, Type1, GeoMesh >

Definition at line 34 of file DimensionedFieldReuseFunctions.H.

Member Function Documentation

◆ New() [1/2]

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

Pass-through to New DimensionedField.

Definition at line 40 of file DimensionedFieldReuseFunctions.H.

References DimensionedField< Type, GeoMesh >::mesh(), Foam::name(), and DimensionedField< Type, 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<DimensionedField<TypeR, GeoMesh> > New ( const tmp< DimensionedField< Type1, GeoMesh >> &  tf1,
const word name,
const dimensionSet dimensions 
)
inlinestatic

Dissimilar types: return new field.

Definition at line 58 of file DimensionedFieldReuseFunctions.H.

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

Here is the call graph for this function:

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