reuseTmp< TypeR, Type1 > Struct Template Reference

Static Public Member Functions

static tmp< Field< TypeR > > New (const Field< Type1 > &f1)
 Pass-through to tmp New. More...
 
static tmp< Field< TypeR > > New (const tmp< Field< Type1 >> &tf1)
 Dissimilar types: just use size. More...
 

Detailed Description

template<class TypeR, class Type1>
struct Foam::reuseTmp< TypeR, Type1 >

Definition at line 34 of file FieldReuseFunctions.H.

Member Function Documentation

◆ New() [1/2]

static tmp<Field<TypeR> > New ( const Field< Type1 > &  f1)
inlinestatic

Pass-through to tmp New.

Definition at line 39 of file FieldReuseFunctions.H.

References UList< Type >::size().

Referenced by Foam::cmptAv(), Foam::cmptMax(), Foam::cmptMin(), Foam::mag(), Foam::magSqr(), reuseTmp< TypeR, Type1 >::New(), reuseTmp< TypeR, TypeR >::New(), 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<Field<TypeR> > New ( const tmp< Field< Type1 >> &  tf1)
inlinestatic

Dissimilar types: just use size.

Definition at line 47 of file FieldReuseFunctions.H.

References reuseTmp< TypeR, Type1 >::New().

Here is the call graph for this function:

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