52 #ifndef fvMeshDistribute_H
53 #define fvMeshDistribute_H
64 class mapAddedPolyMesh;
65 class polyDistributionMap;
81 static void inplaceRenumberWithFlip
84 const bool oldToNewHasFlip,
85 const bool lstHasFlip,
92 const bool selectEqual,
111 label findInternalPatch()
const;
115 label findNonEmptyPatch()
const;
118 template<
class Type,
class Mesh>
119 void saveBoundaryFields
125 template<
class Type,
class Mesh>
126 void mapBoundaryFields
145 template<
class GeoField>
146 void correctCoupledPatchFields();
152 const label destinationPatch
196 static void subsetCouplingData
206 const label oldInternalFaces,
225 static void findCouples
249 const label nInternalFaces1,
268 const label oldInternalPatchi
284 void addNccProcPatches();
312 template<
class GeoField>
313 static void sendFields
339 template<
class GeoField>
340 static void receiveFields
344 typename GeoField::Mesh&,
386 template<
class GeoField>
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base class for statistical distributions.
Sends/receives parts of mesh+fvfields to neighbouring processors. Used in load balancing.
ClassName("fvMeshDistribute")
static void printCoupleInfo(const primitiveMesh &, const labelList &, const labelList &, const labelList &, const labelList &)
Print some info on coupling data.
fvMeshDistribute(fvMesh &mesh)
Construct from mesh.
void operator=(const fvMeshDistribute &)=delete
Disallow default bitwise assignment.
autoPtr< polyDistributionMap > distribute(const labelList &dist)
Send cells to neighbours according to distribution.
static void printMeshInfo(const fvMesh &)
Print some info on mesh.
static labelList countCells(const labelList &)
Helper function: count cells per processor in wanted distribution.
static void printFieldInfo(const fvMesh &)
Print some field info.
Post-processing mesh subset tool. Given the original mesh and the list of selected cells,...
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added m...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Cell-face mesh analysis engine.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)