Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy). More...
Go to the source code of this file.
Namespaces | |
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, objectRegistry *cache=nullptr) |
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, objectRegistry *cache=nullptr) |
Return the named field from the optional cache (if found), or get it from the objects and subset it (add to cache). Return nullptr if nothing worked. 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... | |
Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy).
Original source file readFields.H
InClass Foam::readFields
Definition in file readFields.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.