Loading...
Searching...
No Matches
readFields.H File Reference

Helper routines for reading a field or fields, for foamToEnsight. More...

Include dependency graph for readFields.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

template<class GeoField>
tmp< GeoField > getField (const IOobject &io, const typename GeoField::Mesh &mesh)
 Get the field or FatalError.
template<class GeoField>
tmp< GeoField > getField (const IOobject *io, const typename GeoField::Mesh &mesh)
 Get the field or return nullptr.
template<class GeoField>
tmp< GeoField > getField (const typename GeoField::Mesh &mesh, const IOobjectList &objects, const word &fieldName)
 Get the named field from the objects, or return nullptr.
template<class Type>
tmp< VolumeField< Type > > makeZeroGradientField (const tmp< VolumeInternalField< Type > > &tdf)
 Convert an internal field to zero-gradient volume field.
template<class Type>
tmp< VolumeField< Type > > makeZeroGradientField (const tmp< VolumeField< Type > > &tdf)
 Convert a volume field to zero-gradient volume field.
label checkData (const objectRegistry &obr, const instantList &timeDirs, wordList &objectNames, const fileName &local=fileName::null)
 Check if fields are good to use (available at all times).

Detailed Description

Helper routines for reading a field or fields, for foamToEnsight.

Original source file readFields.H

InNamespace Foam

Source files

Definition in file readFields.H.