Loading...
Searching...
No Matches
reuseTmp< TypeR, Type1 > Struct Template Reference

#include <FieldReuseFunctions.H>

Inheritance diagram for reuseTmp< TypeR, Type1 >:

Static Public Member Functions

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

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]

template<class TypeR, class Type1>
tmp< Field< TypeR > > New ( const Field< Type1 > & f1)
inlinestatic

Pass-through to tmp New.

Definition at line 39 of file FieldReuseFunctions.H.

References New(), and UList< T >::size().

Referenced by Foam::cmptAv(), Foam::cmptMax(), Foam::cmptMin(), Foam::mag(), Foam::magSqr(), Foam::New(), New(), New(), reuseTmp< TypeR, TypeR >::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]

template<class TypeR, class Type1>
tmp< Field< TypeR > > New ( const tmp< Field< Type1 > > & tf1)
inlinestatic

Dissimilar types: just use size.

Definition at line 47 of file FieldReuseFunctions.H.

References New().

Here is the call graph for this function:

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