readFields.H File Reference

Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy). 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, const bool syncPar)
 Get the field or return nullptr. More...
 
template<class GeoField >
tmp< GeoField > getField (const IOobject *io, const fvMeshSubsetProxy &proxy, const bool syncPar)
 Get the field and subset it, or return nullptr. More...
 
template<class GeoField >
tmp< GeoField > getField (const typename GeoField::Mesh &mesh, const IOobjectList &objects, const word &fieldName, const bool syncPar)
 Get the named field from the objects, or return nullptr. More...
 
template<class GeoField >
tmp< GeoField > getField (const fvMeshSubsetProxy &proxy, const IOobjectList &objects, const word &fieldName, const bool syncPar)
 Get the named field from the objects and subset it, or return nullptr. More...
 
template<class GeoField >
PtrList< const GeoField > readFields (const typename GeoField::Mesh &mesh, const IOobjectList &objects)
 Read the fields, and return as a pointer list. More...
 
template<class GeoField >
PtrList< const GeoField > readFields (const fvMeshSubsetProxy &proxy, const IOobjectList &objects)
 Read the fields, optionally subset, and return as a pointer list. More...
 

Detailed Description

Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy).

Original source file readFields.H

InClass Foam::readFields

Source files

Definition in file readFields.H.