36 #ifndef domainDecomposition_H 37 #define domainDecomposition_H 61 const word regionName_;
111 void addInterProcFace
114 const label ownerProc,
116 const label subPatchID,
128 template<
class BinaryOp>
129 inline void processInterCyclics
143 void decomposePoints();
146 void reconstructPoints();
149 bool completeConformal()
const;
152 bool procsConformal()
const;
163 void validateComplete()
const;
166 void validateProcs()
const;
195 return completeMesh_();
208 return runTimes_.
nProcs();
238 return procPointAddressing_;
245 return procFaceAddressing_;
252 return procCellAddressing_;
void writeProcs(const bool doSets) const
Write the decomposed meshes and associated data.
const fvPatchList & patches
A class for handling file names.
TypeName("domainDecomposition")
Runtime type information.
labelList cellToProc() const
Return the distribution as an FV field for writing.
const labelListList & procFaceAddressing() const
Access the labels of faces for each processor (see notes above)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
virtual ~domainDecomposition()
Destructor.
Automatic domain decomposition class for finite-volume meshes.
void decompose()
Decompose the complete mesh to create the processor meshes and.
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 string.
const labelListList & procCellAddressing() const
Access the labels of cells for each processor.
fvMesh::readUpdateState readUpdate()
...
const PtrList< surfaceLabelField::Boundary > & procFaceAddressingBf() const
Access the labels of faces for each processor (see notes above)
domainDecomposition(const processorRunTimes &procRunTimes, const word ®ionName)
Construct from processor run times and region name.
void writeComplete(const bool doSets) const
Write the decomposed meshes and associated data.
void reconstruct()
Reconstruct the processor meshes to create the complete mesh and.
label nProcs() const
Return the number of processors.
void writeAddressing() const
Write the decomposition addressing.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
const labelListList & procPointAddressing() const
Access the labels of points for each processor.
const PtrList< fvMesh > & procMeshes() const
Access the processor meshes.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
readUpdateState
Enumeration defining the state of the mesh after a read update.
const fvMesh & completeMesh() const
Access the global mesh.
label nProcs() const
Return the number of processors in the decomposition.