Go to the documentation of this file.
51 template<
class GeoField>
55 const typename GeoField::Mesh&
mesh
68 template<
class GeoField>
71 const typename GeoField::Mesh&
mesh,
84 tmp<GeometricField<Type, fvPatchField, volMesh>>
102 std::move(df.field()),
103 zeroGradientFvPatchScalarField::typeName
106 tfield.ref().oriented() = df.oriented();
107 tfield.ref().correctBoundaryConditions();
122 tmp<GeometricField<Type, fvPatchField, volMesh>>
130 auto& df = tdf.ref();
137 std::move(df.primitiveFieldRef(
false)),
138 zeroGradientFvPatchScalarField::typeName
141 tfield.ref().oriented() = df.oriented();
142 tfield.ref().correctBoundaryConditions();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
label checkData(const fvMesh &mesh, const instantList &timeDirs, wordList &objectNames)
Check if fields are good to use (available at all times)
const IOobject * findObject(const word &objName) const
Return const pointer to the object found by name.
List< instant > instantList
List of instants.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType())
Return tmp field from name, mesh, dimensions and patch type.
List< word > wordList
A List of words.
List of IOobjects with searching and retrieving facilities.
tmp< GeoField > getField(const IOobject *io, const typename GeoField::Mesh &mesh)
Get the field or return nullptr.
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
tmp< GeometricField< Type, fvPatchField, volMesh > > makeZeroGradientField(const tmp< typename GeometricField< Type, fvPatchField, volMesh >::Internal > &tdf)
Convert an internal field to zero-gradient volume field.
Generic GeometricField class.