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

Static Public Member Functions

static tmp< GeometricField< TypeR, PatchField, GeoMesh > > New (const tmp< GeometricField< TypeR, PatchField, GeoMesh > > &tgf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
 

Detailed Description

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

Definition at line 114 of file GeometricFieldReuseFunctions.H.

Member Function Documentation

◆ New()

static tmp< GeometricField< TypeR, PatchField, GeoMesh > > New ( const tmp< GeometricField< TypeR, PatchField, GeoMesh > > &  tgf1,
const word name,
const dimensionSet dimensions,
const bool  initCopy = false 
)
inlinestatic

Since the input and output types are identical, also allow optional copy assignment of the initial content.

Definition at line 118 of file GeometricFieldReuseFunctions.H.

References Foam::name(), reuseTmpGeometricField< TypeR, Type1, PatchField, GeoMesh >::New(), and Foam::reusable().

Here is the call graph for this function:

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