Go to the documentation of this file.
42 #ifndef faMeshDecomposition_H
43 #define faMeshDecomposition_H
71 bool hasGlobalFaceZones_;
124 bool cyclicParallel_;
129 void distributeFaces();
144 const label nProcessors,
158 label
nProcs() const noexcept
172 bool old(distributed_);
186 bool old(hasGlobalFaceZones_);
187 hasGlobalFaceZones_ = on;
void decomposeMesh()
Decompose mesh.
Mesh consisting of general polyhedral cells.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
void updateParameters(const dictionary ¶ms)
Update flags based on the decomposition model settings.
bool useGlobalFaceZones(const bool on) noexcept
Change global face zones flag.
const labelList & faceToProc() const noexcept
Face-processor decomposition labels.
const polyMesh & mesh() const
Return access to polyMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool distributed(const bool on) noexcept
Change distributed flag.
Automatic faMesh decomposition class.
bool useGlobalFaceZones() const noexcept
Are global face zones used.
faMeshDecomposition(const polyMesh &mesh, const label nProcessors, const dictionary ¶ms=dictionary::null)
~faMeshDecomposition()=default
Destructor.
label nProcs() const noexcept
Number of processor in decomposition.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
bool distributed() const noexcept
Is decomposition data to be distributed for each processor.
bool writeDecomposition()
Write decomposition.