fieldsDistributor Class Reference

Static Public Member Functions

template<class GeoField >
static void readField (const IOobject &io, const typename GeoField::Mesh &mesh, const label i, PtrList< GeoField > &fields)
 Generic mesh-based field reading. More...
 
template<class Type , template< class > class PatchField, class GeoMesh >
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. More...
 
template<class Type , template< class > class PatchField, class GeoMesh >
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. More...
 
template<class Mesh , class GeoField >
static void readFields (const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields)
 Read fields and hold on the pointer list. More...
 
template<class GeoField , class MeshSubsetter >
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. More...
 
template<class GeoField , class MeshSubsetter >
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. More...
 
template<class GeoField , class MeshSubsetter >
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. More...
 
template<class GeoField , class MeshSubsetter >
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. More...
 

Detailed Description

Definition at line 50 of file fieldsDistributor.H.

Member Function Documentation

◆ readField() [1/2]

void readField ( const IOobject io,
const typename GeoField::Mesh &  mesh,
const label  i,
PtrList< GeoField > &  fields 
)
static

Generic mesh-based field reading.

Definition at line 25 of file fieldsDistributorTemplates.C.

References fields, io(), and mesh.

Here is the call graph for this function:

◆ readField() [2/2]

void readField ( const IOobject io,
const typename GeoMesh::Mesh mesh,
const label  i,
PtrList< GeometricField< Type, PatchField, GeoMesh >> &  fields 
)
static

Definition of readField for GeometricFields only.

Definition at line 38 of file fieldsDistributorTemplates.C.

References fields, io(), and mesh.

Here is the call graph for this function:

◆ readFields() [1/6]

void readFields ( const typename GeoMesh::Mesh mesh,
const IOobjectList objects,
PtrList< GeometricField< Type, PatchField, GeoMesh >> &  fields,
const bool  readOldTime 
)
static

Read fields and store on the pointer list.

Definition at line 51 of file fieldsDistributorTemplates.C.

References IOobjectList::csorted(), fields, forAll, mesh, and UPtrList< T >::size().

Here is the call graph for this function:

◆ readFields() [2/6]

void readFields ( const Mesh &  mesh,
const IOobjectList objects,
PtrList< GeoField > &  fields 
)
static

Read fields and hold on the pointer list.

Definition at line 75 of file fieldsDistributorTemplates.C.

References IOobjectList::csorted(), fields, forAll, mesh, and UPtrList< T >::size().

Here is the call graph for this function:

◆ readFields() [3/6]

void readFields ( const bitSet haveMeshOnProc,
const MeshSubsetter *  subsetter,
const typename GeoField::Mesh &  mesh,
IOobjectList allObjects,
PtrList< GeoField > &  fields,
const bool  deregister = false 
)
static

Read volume/surface/point/area fields that may or may not exist on all processors.

Definition at line 364 of file fieldsDistributorTemplates.C.

References fields, and mesh.

◆ readFields() [4/6]

void readFields ( const boolUList haveMeshOnProc,
const MeshSubsetter *  subsetter,
const typename GeoField::Mesh &  mesh,
IOobjectList allObjects,
PtrList< GeoField > &  fields,
const bool  deregister = false 
)
static

Read volume/surface/point/area fields that may or may not exist on all processors.

Definition at line 389 of file fieldsDistributorTemplates.C.

References fields, and mesh.

◆ readFields() [5/6]

void readFields ( const boolUList haveMeshOnProc,
const typename GeoField::Mesh &  mesh,
const autoPtr< MeshSubsetter > &  subsetter,
IOobjectList allObjects,
PtrList< GeoField > &  fields,
const bool  deregister = false 
)
static

Read volume/surface/point/area fields that may or may not exist on all processors.

Definition at line 414 of file fieldsDistributorTemplates.C.

References fields, autoPtr< T >::get(), and mesh.

Here is the call graph for this function:

◆ readFields() [6/6]

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 
)
static

Read volume/surface/point/area fields that may or may not exist on all processors.

Definition at line 439 of file fieldsDistributorTemplates.C.

References fields, autoPtr< T >::get(), and mesh.

Here is the call graph for this function:

The documentation for this class was generated from the following files: