44 #ifndef Foam_faMeshDecomposition_H 45 #define Foam_faMeshDecomposition_H 72 bool hasGlobalFaceZones_;
129 static bool disallowEdgeEncoding_;
136 void distributeFaces();
139 static void writeProcAddressing
146 bool withoutEdgeEncoding
158 return (!disallowEdgeEncoding_);
164 bool old(!disallowEdgeEncoding_);
165 disallowEdgeEncoding_ = (!on);
186 const word& areaName,
190 const label nProcessors,
202 const label nProcessors,
228 bool old(distributed_);
239 bool old(noEdgeEncoding_);
240 noEdgeEncoding_ = on;
247 return hasGlobalFaceZones_;
253 bool old(hasGlobalFaceZones_);
254 hasGlobalFaceZones_ = on;
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
faMeshDecomposition(const faMeshDecomposition &)=delete
No copy construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const labelUList & faceToProc() const noexcept
Face-processor decomposition labels.
bool noEdgeEncoding() const noexcept
Is edge encoding disabled.
bool useGlobalFaceZones() const noexcept
Are global face zones used.
label nProcs() const noexcept
Number of processor in decomposition.
void updateParameters(const dictionary ¶ms)
Update flags based on the decomposition model settings.
UList< label > labelUList
A UList of labels.
dictionary()
Default construct, a top-level empty dictionary.
A class for handling words, derived from Foam::string.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
bool writeDecomposition() const
Write decomposition.
const polyMesh & mesh() const
Return access to polyMesh.
~faMeshDecomposition()=default
Destructor.
const word & name() const noexcept
The area-region name.
bool distributed() const noexcept
Is decomposition data to be distributed for each processor.
void decomposeMesh()
Decompose mesh.
Automatic faMesh decomposition class. The decomposition of finite-area follows the faceProcAddressing...
Mesh consisting of general polyhedral cells.
void operator=(const faMeshDecomposition &)=delete
No copy assignment.
static bool allowEdgeEncoding() noexcept
The enable/disable state for allowing encoding of edgeProcAddressing edge flips (default: true) ...