37#ifndef Foam_fieldsDistributor_H
38#define Foam_fieldsDistributor_H
61 template<
class BoolListType,
class GeoField,
class MeshSubsetter>
62 static void readFieldsImpl
66 const BoolListType& haveMeshOnProc,
68 const MeshSubsetter* subsetter,
69 const typename GeoField::Mesh&
mesh,
81 template<
class GeoField>
85 const typename GeoField::Mesh&
mesh,
91 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
105 template<
class>
class PatchField,
113 const bool readOldTime
117 template<
class Mesh,
class GeoField>
128 template<
class GeoField,
class MeshSubsetter>
131 const bitSet& haveMeshOnProc,
133 const MeshSubsetter* subsetter,
134 const typename GeoField::Mesh&
mesh,
137 const bool deregister =
false
142 template<
class GeoField,
class MeshSubsetter>
147 const MeshSubsetter* subsetter,
148 const typename GeoField::Mesh&
mesh,
151 const bool deregister =
false
156 template<
class GeoField,
class MeshSubsetter>
159 const bitSet& haveMeshOnProc,
160 const typename GeoField::Mesh&
mesh,
165 const bool deregister =
false
170 template<
class GeoField,
class MeshSubsetter>
174 const typename GeoField::Mesh&
mesh,
179 const bool deregister =
false
184 template<
class GeoField,
class MeshSubsetter>
187 const bitSet& haveMeshOnProc,
189 const typename GeoField::Mesh&
mesh,
194 const bool deregister =
false
199 template<
class GeoField,
class MeshSubsetter>
204 const typename GeoField::Mesh&
mesh,
209 const bool deregister =
false
221 #include "fieldsDistributor.txx"
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable,...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
static void readFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, const bool readOldTime)
Read fields and store on the pointer list.
static void readFields(const boolUList &haveMeshOnProc, refPtr< fileOperation > &readHandler, const typename GeoField::Mesh &mesh, const autoPtr< MeshSubsetter > &subsetter, IOobjectList &allObjects, PtrList< GeoField > &fields, const bool deregister=false)
Read volume/surface/point/area fields that may or may not exist on all processors.
static void readFields(const bitSet &haveMeshOnProc, refPtr< fileOperation > &readHandler, const typename GeoField::Mesh &mesh, const autoPtr< MeshSubsetter > &subsetter, IOobjectList &allObjects, PtrList< GeoField > &fields, const bool deregister=false)
Read volume/surface/point/area fields that may or may not exist on all processors.
static void readField(const IOobject &io, const typename GeoMesh::Mesh &mesh, const label i, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields)
Definition of readField for GeometricFields only.
static void readField(const IOobject &io, const typename GeoField::Mesh &mesh, const label i, PtrList< GeoField > &fields)
Generic mesh-based field reading.
static void readFields(const bitSet &haveMeshOnProc, const MeshSubsetter *subsetter, const typename GeoField::Mesh &mesh, IOobjectList &allObjects, PtrList< GeoField > &fields, const bool deregister=false)
Read volume/surface/point/area fields that may or may not exist on all processors.
static void readFields(const bitSet &haveMeshOnProc, const typename GeoField::Mesh &mesh, const autoPtr< MeshSubsetter > &subsetter, IOobjectList &allObjects, PtrList< GeoField > &fields, const bool deregister=false)
Read volume/surface/point/area fields that may or may not exist on all processors.
static void readFields(const boolUList &haveMeshOnProc, const MeshSubsetter *subsetter, const typename GeoField::Mesh &mesh, IOobjectList &allObjects, PtrList< GeoField > &fields, const bool deregister=false)
Read volume/surface/point/area fields that may or may not exist on all processors.
static void readFields(const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields)
Read fields and hold on the pointer list.
static void readFields(const boolUList &haveMeshOnProc, const typename GeoField::Mesh &mesh, const autoPtr< MeshSubsetter > &subsetter, IOobjectList &allObjects, PtrList< GeoField > &fields, const bool deregister=false)
Read volume/surface/point/area fields that may or may not exist on all processors.
A class for managing references or pointers (no reference counting).
UList< bool > boolUList
A UList of bools.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields