26 #ifndef GeometricFieldReuseFunctions_H 27 #define GeometricFieldReuseFunctions_H 39 template<
class>
class PatchField,
57 && !
isA<
typename PatchField<Type>::Calculated>(gbf[
patchi])
61 <<
"Attempt to reuse temporary with non-reusable BC " 78 template<
class TypeR,
template<
class>
class PatchField,
class GeoMesh>
84 const bool initRet =
false 115 rtgf.
ref() == tgf1();
127 template<
class>
class PatchField,
161 template<
class TypeR,
template<
class>
class PatchField,
class GeoMesh>
209 template<
class>
class PatchField,
249 template<
class>
class PatchField,
253 <TypeR, Type1, Type12, TypeR, PatchField,
GeoMesh>
300 template<
class>
class PatchField,
345 template<
class TypeR,
template<
class>
class PatchField,
class GeoMesh>
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
#define forAll(list, i)
Loop across all elements in list.
const objectRegistry & db() const
Return the local objectRegistry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
static bool constraintType(const word &pt)
Return true if the given type is a constraint type.
Dimension set for the base types.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
A class for handling words, derived from string.
static tmp< GeometricField< TypeR, PatchField, GeoMesh > > New(const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const word &name, const dimensionSet &dimensions)
const dimensionSet & dimensions() const
Return dimensions.
bool reusable(const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
virtual void rename(const word &newName)
Rename.
void reset(const dimensionSet &)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
#define WarningInFunction
Report a warning using Foam::Warning.
const Mesh & mesh() const
Return mesh.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const fileName & instance() const