52 #ifndef fvMeshDistribute_H 53 #define fvMeshDistribute_H 64 class mapAddedPolyMesh;
65 class mapDistributePolyMesh;
80 const scalar mergeTol_;
88 const bool selectEqual,
94 static void checkEqualWordList(
const string&,
const wordList&);
103 label findNonEmptyPatch()
const;
106 template<
class T,
class Mesh>
107 void saveBoundaryFields
113 template<
class T,
class Mesh>
114 void mapBoundaryFields
121 template<
class GeoField,
class PatchFieldType>
124 const typename GeoField::value_type& initVal
128 template<
class GeoField>
129 void correctBoundaryConditions();
157 void getNeighbourData
167 static void subsetBoundaryData
176 const label oldInternalFaces,
191 static void findCouples
215 const label nInternalFaces1,
226 const label oldInternalPatchI
261 template<
class GeoField>
262 static void sendFields
286 template<
class GeoField>
287 static void receiveFields
335 template<
class GeoField>
static void printMeshInfo(const fvMesh &)
Print some info on mesh.
Mesh data needed to do the Finite Volume discretisation.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static List< word > fieldNames
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static void printCoupleInfo(const primitiveMesh &, const labelList &, const labelList &, const labelList &, const labelList &)
Print some info on coupling data.
static void printFieldInfo(const fvMesh &)
Print some field info.
Accumulating histogram of values. Specified bin resolution automatic generation of bins...
A list of keyword definitions, which are a keyword followed by any number of values (e...
Sends/receives parts of mesh+fvfields to neighbouring processors. Used in load balancing.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Cell-face mesh analysis engine.
static labelList countCells(const labelList &)
Helper function: count cells per processor in wanted distribution.
autoPtr< mapDistributePolyMesh > distribute(const labelList &dist)
Send cells to neighbours according to distribution.
ClassName("fvMeshDistribute")
An Ostream is an abstract base class for all output systems (streams, files, token lists...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Post-processing mesh subset tool. Given the original mesh and the list of selected cells...
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added m...