51 template<
class GeoField>
55 const typename GeoField::Mesh&
mesh 68 template<
class GeoField>
71 const typename GeoField::Mesh&
mesh,
86 const tmp<VolumeInternalField<Type>>& tdf
98 std::move(df.field()),
99 zeroGradientFvPatchScalarField::typeName
102 tfield.ref().oriented() = df.oriented();
103 tfield.ref().correctBoundaryConditions();
120 const tmp<VolumeField<Type>>& tdf
125 auto& df = tdf.ref();
132 std::move(df.primitiveFieldRef(
false)),
133 zeroGradientFvPatchScalarField::typeName
136 tfield.ref().oriented() = df.oriented();
137 tfield.ref().correctBoundaryConditions();
List< instant > instantList
List of instants.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
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.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
label checkData(const fvMesh &mesh, const instantList &timeDirs, wordList &objectNames)
Check if fields are good to use (available at all times)
A class for handling words, derived from Foam::string.
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 with forwarding arguments.
const IOobject * findObject(const word &objName) const
Return const pointer to the object found by name.
tmp< VolumeField< Type > > makeZeroGradientField(const tmp< VolumeInternalField< Type >> &tdf)
Convert an internal field to zero-gradient volume field.
List< word > wordList
A List of words.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...