29 #ifndef Foam_FieldFieldReuseFunctions_H 30 #define Foam_FieldFieldReuseFunctions_H 40 template<
template<
class>
class Field,
class TypeR,
class Type1>
63 template<
template<
class>
class Field,
class TypeR>
71 const bool initCopy =
false 83 tresult.ref() = tf1();
92 template<
template<
class>
class Field,
class TypeR>
93 tmp<FieldField<Field, TypeR>>
New 96 const bool initCopy =
false 108 template<
class>
class Field,
114 struct reuseTmpTmpFieldField
128 template<
template<
class>
class Field,
class TypeR,
class Type1,
class Type12>
129 struct reuseTmpTmpFieldField<Field, TypeR, Type1, Type12, TypeR>
148 template<
template<
class>
class Field,
class TypeR,
class Type2>
149 struct reuseTmpTmpFieldField<Field, TypeR, TypeR, TypeR, Type2>
152 static tmp<FieldField<Field, TypeR>>
New 168 template<
template<
class>
class Field,
class TypeR>
169 struct reuseTmpTmpFieldField<Field, TypeR, TypeR, TypeR, TypeR>
172 static tmp<FieldField<Field, TypeR>>
New 174 const tmp<FieldField<Field, TypeR>>& tf1,
175 const tmp<FieldField<Field, TypeR>>& tf2
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
A field of fields is a PtrList of fields with reference counting.
Generic templated field type.
static tmp< FieldField< Field, Type > > NewCalculatedType(const FieldField< Field, Type2 > &ff)
Return a pointer to a new calculatedFvPatchFieldField created on.
static tmp< FieldField< Field, TypeR > > New(const tmp< FieldField< Field, Type1 >> &tf1, const tmp< FieldField< Field, Type2 >> &tf2)
Dissimilar types: just use size.
static tmp< FieldField< Field, TypeR > > New(const FieldField< Field, Type1 > &f1)
Pass-through to NewCalculatedType.
A class for managing temporary objects.