Go to the documentation of this file.
55 #ifndef fvMeshDistribute_H
56 #define fvMeshDistribute_H
67 class mapAddedPolyMesh;
68 class mapDistributePolyMesh;
83 const scalar mergeTol_;
88 static void inplaceRenumberWithFlip
91 const bool oldToNewHasFlip,
92 const bool lstHasFlip,
99 const bool selectEqual,
111 label findNonEmptyPatch()
const;
114 template<
class T,
class Mesh>
115 void saveBoundaryFields
121 template<
class T,
class Mesh>
122 void mapBoundaryFields
141 template<
class GeoField,
class PatchFieldType>
144 const typename GeoField::value_type& initVal
148 template<
class GeoField>
149 void correctBoundaryConditions();
189 static void subsetCouplingData
199 const label oldInternalFaces,
216 static void findCouples
240 const label nInternalFaces1,
259 const label oldInternalPatchi
297 template<
class GeoField>
298 static void getFieldNames
302 const bool syncPar =
true
306 template<
class GeoField>
307 static void sendFields
332 template<
class GeoField>
333 static void receiveFields
381 template<
class GeoField>
static labelList countCells(const labelList &)
Helper function: count cells per processor in wanted distribution.
Accumulating histogram of values. Specified bin resolution automatic generation of bins.
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)
A field of fields is a PtrList of fields with reference counting.
A class for managing temporary objects.
Given the original mesh and the list of selected cells, it creates the mesh consisting only of the de...
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
static void printFieldInfo(const fvMesh &)
Print some field info.
ClassName("fvMeshDistribute")
static tmp< surfaceScalarField > generateTestField(const fvMesh &)
Generate a test field on faces.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static void printMeshInfo(const fvMesh &)
Print some info on mesh.
static void printCoupleInfo(const primitiveMesh &, const labelList &, const labelList &, const labelList &, const labelList &)
Print some info on coupling data.
static void testField(const surfaceScalarField &)
Check whether field consistent with face orientation.
autoPtr< mapDistributePolyMesh > distribute(const labelList &dist)
Send cells to neighbours according to distribution.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added m...
Sends/receives parts of mesh+fvfields to neighbouring processors. Used in load balancing.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Cell-face mesh analysis engine.