41#ifndef Foam_faMeshDistributor_H
42#define Foam_faMeshDistributor_H
75 mutable std::unique_ptr<mapDistributeBase> internalEdgeMap_;
87 void createInternalEdgeMap()
const;
90 void createPatchMaps()
const;
160 bool old(isWriteProc_);
Forwards and collection of common area field types.
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))
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....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
static mapDistributePolyMesh distribute(const faMesh &oldMesh, const mapDistributePolyMesh &distMap, const polyMesh &tgtPolyMesh, autoPtr< faMesh > &newMeshPtr)
Distribute mesh according to the given (volume) mesh distribution.
bool isWriteProc(const bool on) noexcept
Change status of write enabled (on this proc)
bool isWriteProc() const noexcept
Get status of write enabled (on this proc)
tmp< GeometricField< Type, faPatchField, areaMesh > > distributeAreaField(const IOobject &fieldObject) const
Read and distribute area field.
tmp< GeometricField< Type, faPatchField, areaMesh > > distributeField(const GeometricField< Type, faPatchField, areaMesh > &fld) const
Distribute area field.
static int verbose_
Output verbosity when writing.
tmp< GeometricField< Type, faePatchField, edgeMesh > > distributeEdgeField(const IOobject &fieldObject) const
Read and distribute edge field.
tmp< GeometricField< Type, faePatchField, edgeMesh > > distributeField(const GeometricField< Type, faePatchField, edgeMesh > &fld) const
Distribute edge field.
label distributeEdgeFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
Read, distribute and write all/selected area fields.
label distributeAllFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
label distributeAreaFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
Read, distribute and write all/selected area fields.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
Forwards for edge field types.