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,
99 static label checkEqualWordList(
const string&,
const wordList&);
109 label findInternalPatch()
const;
113 label findNonEmptyPatch()
const;
116 template<
class T,
class Mesh>
117 void saveBoundaryFields
123 template<
class T,
class Mesh>
124 void mapBoundaryFields
143 template<
class GeoField>
144 void correctProcessorPatchFields();
150 const label destinationPatch
194 static void subsetCouplingData
204 const label oldInternalFaces,
223 static void findCouples
247 const label nInternalFaces1,
266 const label oldInternalPatchi
307 template<
class GeoField>
308 static void sendFields
334 template<
class GeoField>
335 static void receiveFields
339 typename GeoField::Mesh&,
381 template<
class GeoField>
fvMeshDistribute(fvMesh &mesh)
Construct from mesh.
A list of keyword definitions, which are a keyword followed by any number of values (e...
ClassName("fvMeshDistribute")
Cell-face mesh analysis engine.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added m...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
static List< word > fieldNames
Sends/receives parts of mesh+fvfields to neighbouring processors. Used in load balancing.
autoPtr< polyDistributionMap > distribute(const labelList &dist)
Send cells to neighbours according to distribution.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Accumulating histogram of values. Specified bin resolution automatic generation of bins...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static void printFieldInfo(const fvMesh &)
Print some field info.
Post-processing mesh subset tool. Given the original mesh and the list of selected cells...
static void printMeshInfo(const fvMesh &)
Print some info on mesh.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
static void printCoupleInfo(const primitiveMesh &, const labelList &, const labelList &, const labelList &, const labelList &)
Print some info on coupling data.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void operator=(const fvMeshDistribute &)=delete
Disallow default bitwise assignment.
static labelList countCells(const labelList &)
Helper function: count cells per processor in wanted distribution.