40 #ifndef domainDecomposition_H 41 #define domainDecomposition_H 53 class decompositionModel;
125 void distributeCells();
136 static void append(
labelList&,
const label);
139 void addInterProcFace
142 const label ownerProc,
150 template<
class BinaryOp>
151 void processInterCyclics
208 bool old(distributed_);
const fvMesh & mesh() const noexcept
The mesh.
~domainDecomposition()=default
Destructor.
bool writeDecomposition(const bool decomposeSets)
Write decomposition.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Automatic domain decomposition class for finite-volume meshes.
bool distributed() const noexcept
Is decomposition data to be distributed for each processor.
const labelList & cellToProc() const noexcept
Cell-processor decomposition labels.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from Foam::string.
MeshObject wrapper of decompositionMethod.
void writeVolField(const word &timeName) const
Write decomposition as volScalarField for visualization.
void updateParameters(const dictionary ¶ms)
Update flags based on the decomposition model settings.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
const labelUList & owner() const
Internal face owner. Note bypassing virtual mechanism so.
Mesh data needed to do the Finite Volume discretisation.
const polyBoundaryMesh & patches
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
domainDecomposition(const IOobject &io, const fileName &decompDictFile="")
Construct from components.
void writeVTK(const fileName &file) const
Write cell distribution as VTU file (binary)
void decomposeMesh()
Decompose mesh.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const decompositionModel & model() const
Return decomposition model used.
label nProcs() const noexcept
Number of processor in decomposition.