47#ifndef Foam_faMeshReconstructor_H
48#define Foam_faMeshReconstructor_H
65class faMeshReconstructor
126 void calcAddressing(
const labelUList& fvFaceProcAddr);
129 void initPatch()
const;
135 faMeshReconstructor(
const faMeshReconstructor&) =
delete;
138 void operator=(
const faMeshReconstructor&) =
delete;
150 explicit faMeshReconstructor
174 bool good()
const noexcept {
return !errors_; }
179 return faPointProcAddr_;
185 return faEdgeProcAddr_;
191 return faFaceProcAddr_;
197 return faBoundaryProcAddr_;
readOption
Enumeration defining read preferences.
@ MUST_READ
Reading required.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static void writeMesh(const word &timeName, const faMesh &fullMesh, const labelUList &singlePatchFaceLabels)
Write mesh information.
const labelList & boundaryProcAddressing() const noexcept
Processor boundary addressing.
faMeshReconstructor(const faMesh &procMesh, const labelUList &fvFaceProcAddressing)
Construct from components.
~faMeshReconstructor()
Destructor.
bool good() const noexcept
True if no construct errors encountered.
primitivePatch & patch()
Serial equivalent patch.
static void writeAddressing(const IOobject &io, const labelUList &faBoundaryProcAddr, const labelUList &faFaceProcAddr, const labelUList &faPointProcAddr, const labelUList &faEdgeProcAddr)
Write proc addressing.
faMeshReconstructor(const faMesh &procMesh, IOobjectOption::readOption readVolProcAddr=IOobjectOption::MUST_READ)
Construct from components.
void writeMesh() const
Write equivalent mesh information at the polyMesh faceInstances time.
const labelList & faceProcAddressing() const noexcept
Processor face addressing.
const labelList & pointProcAddressing() const noexcept
Processor point addressing.
void writeAddressing() const
Write proc addressing at the polyMesh faceInstances time.
const faMesh & mesh() const
Serial equivalent faMesh.
void writeMesh(const word &timeName) const
Write equivalent mesh information at the given time.
static int debug
Debug flag.
const primitivePatch & patch() const
Serial equivalent patch.
const labelList & edgeProcAddressing() const noexcept
Processor edge addressing.
void writeAddressing(const word &timeName) const
Write proc addressing at the given time.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
A class for handling words, derived from Foam::string.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
PrimitivePatch< SubList< face >, const pointField & > primitivePatch
A PrimitivePatch with a SubList addressing for the faces, const reference for the point field.
List< face > faceList
List of faces.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.