44#ifndef Foam_parFvFieldDistributor_H
45#define Foam_parFvFieldDistributor_H
56class mapDistributePolyMesh;
57class mapDistributeBase;
87 void createPatchFaceMaps();
130 bool old(isWriteProc_);
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities.
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....
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Finite volume reconstructor for volume and surface fields.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > distributeField(const GeometricField< Type, fvsPatchField, surfaceMesh > &) const
Redistribute surface field.
label distributeInternalFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
Read, redistribute and write all/selected volume internal fields.
tmp< DimensionedField< Type, volMesh > > distributeField(const DimensionedField< Type, volMesh > &) const
Redistribute volume internal field.
label distributeSurfaceFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
Read, reconstruct and write all/selected surface fields.
bool isWriteProc(const bool on) noexcept
Change status of write enabled (on this proc)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > distributeSurfaceField(const IOobject &fieldObject) const
Read and distribute surface field.
bool isWriteProc() const noexcept
Get status of write enabled (on this proc)
label distributeVolumeFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
Read, redistribute and write all/selected volume fields.
tmp< DimensionedField< Type, volMesh > > distributeInternalField(const IOobject &fieldObject) const
Read and distribute volume internal field.
tmp< GeometricField< Type, fvPatchField, volMesh > > distributeVolumeField(const IOobject &fieldObject) const
Read and distribute volume field.
tmp< GeometricField< Type, fvPatchField, volMesh > > distributeField(const GeometricField< Type, fvPatchField, volMesh > &fld) const
Redistribute volume field.
static int verbose_
Output verbosity when writing.
void distributeAllFields(const IOobjectList &objects, const wordRes &selectedFields) const
Distribute all fields for known field types.
void reconstructPoints()
Helper: reconstruct and write mesh points.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.