29 #ifndef Foam_FieldReuseFunctions_H 30 #define Foam_FieldReuseFunctions_H 40 template<
class TypeR,
class Type1>
65 const bool initCopy =
false 86 template<
class TypeR> tmp<Field<TypeR>>
New 89 const bool initCopy =
false 99 template<
class TypeR,
class Type1,
class Type12,
class Type2>
114 template<
class TypeR,
class Type1,
class Type12>
115 struct reuseTmpTmp<TypeR, Type1, Type12, TypeR>
134 template<
class TypeR,
class Type2>
135 struct reuseTmpTmp<TypeR, TypeR, TypeR, Type2>
138 static tmp<Field<TypeR>>
New 154 template<
class TypeR>
155 struct reuseTmpTmp<TypeR, TypeR, TypeR, TypeR>
158 static tmp<Field<TypeR>>
New 160 const tmp<Field<TypeR>>& tf1,
161 const tmp<Field<TypeR>>& tf2
void size(const label n)
Older name for setAddressableSize.
static tmp< Field< TypeR > > New(const Field< Type1 > &f1)
Pass-through to tmp New.
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.
Generic templated field type.
static tmp< Field< TypeR > > New(const tmp< Field< Type1 >> &tf1, const tmp< Field< Type2 >> &tf2)
Dissimilar types: just use size.
A class for managing temporary objects.