|
|
|
globalMeshData Class ReferenceVarious mesh related information for a parallel run. Upon construction constructs all info by using parallel communication. More...
Inheritance diagram for globalMeshData:
![]()
Collaboration diagram for globalMeshData:
![]()
Detailed DescriptionVarious mesh related information for a parallel run. Upon construction constructs all info by using parallel communication.
The shared point addressing is quite interesting. It gives on each processor the vertices that cannot be set using a normal swap on processor patches. These are the vertices that are shared between more than 2 processors. There is an issue with these shared vertices if they originate from cyclics (i.e. are now separated processor patches). They will all be mapped to the same global point (so even though the processor points are not on the same location) since topologically they are one and the same. So if you ask for sharedPoints() you get only one of the coordinates of the topologically shared points. All the hard work of these shared points is done by the globalPoints class. Shared edges: similar to shared points gives on all processors the edges that are shared between more than two patches (i.e. the edges on which data cannot be synchronized by a straightforward edge data swap). Note that shared edges will use shared points but not all edges between shared points need to be shared edges (e.g. there might be an edge connecting two disconnected regions of shared points). Currently an edge is considered shared if it uses two shared points and is used more than once. This is not correct on processor patches but it only slightly overestimates the number of shared edges. Doing full analysis of how many patches use the edge would be too complicated. Shared edge calculation is demand driven so always make sure to have your first call to one of the access functions synchronous amongst all processors!
Definition at line 91 of file globalMeshData.H. Constructor & Destructor Documentation
Construct from mesh, derive rest (does parallel communication!).
Definition at line 431 of file globalMeshData.C.
Old behaviour: read constructor given IOobject and a polyMesh. reference. Only use this for testing! Definition at line 455 of file globalMeshData.C.
Definition at line 492 of file globalMeshData.C.
Member Function Documentation
Runtime type information.
Does the mesh contain processor patches? (also valid when. not running parallel) Definition at line 277 of file globalMeshData.H.
Definition at line 282 of file globalMeshData.H.
Return total number of faces in decomposed mesh.
Definition at line 294 of file globalMeshData.H. Referenced by hexRef8::consistentSlowRefinement().
Here is the caller graph for this function:
![]()
Return total number of cells in decomposed mesh.
Definition at line 300 of file globalMeshData.H. Referenced by meshRefinement::refineCandidates().
Here is the caller graph for this function:
![]()
Return list of processor patch labels. (size of list = number of processor patches) Definition at line 312 of file globalMeshData.H.
Return list of indices into processorPatches_ for each patch. Index = -1 for non-processor parches. (size of list = number of patches) Definition at line 322 of file globalMeshData.H.
Return processorPatchIndices of the neighbours. processor patches. -1 if not running parallel. Definition at line 331 of file globalMeshData.H.
Return number of globally shared points.
Definition at line 340 of file globalMeshData.H. Referenced by globalPointPatch::sharedPointAddr(), and syncTools::syncPointList().
Here is the caller graph for this function:
![]()
Return indices of local points that are globally shared.
Definition at line 346 of file globalMeshData.H. Referenced by globalPointPatch::localPoints(), and syncTools::syncPointList().
Here is the caller graph for this function:
![]()
Return addressing into the complete globally shared points. list Note: It is assumed that a (never constructed) complete list of globally shared points exists. The set of shared points on the current processor is a subset of all shared points. Shared point addressing gives the index in the list of all globally shared points for each of the locally shared points. Definition at line 361 of file globalMeshData.H. Referenced by syncTools::syncPointList().
Here is the caller graph for this function:
![]()
Return shared point global labels. Tries to read. 'pointProcAddressing' and returns list or -1 if none available. Definition at line 511 of file globalMeshData.C.
Collect coordinates of shared points on all processors. (does parallel communication!) Note: not valid for cyclicParallel since shared cyclic points are merged into single global point. (use geometricSharedPoints instead) Definition at line 557 of file globalMeshData.C.
Like sharedPoints but keeps cyclic points separate. (does geometric merging; uses matchTol_*bb as merging tolerance) Use sharedPoints() instead. Definition at line 638 of file globalMeshData.C.
Return number of globally shared edges. Demand-driven. calculation so call needs to be synchronous among processors! Definition at line 673 of file globalMeshData.C. Referenced by syncTools::syncEdgeList().
Here is the caller graph for this function:
![]()
Return indices of local edges that are globally shared. Demand-driven calculation so call needs to be synchronous among processors! Definition at line 683 of file globalMeshData.C. Referenced by syncTools::syncEdgeList().
Here is the caller graph for this function:
![]()
Return addressing into the complete globally shared edge. list. The set of shared edges on the current processor is a subset of all shared edges. Shared edge addressing gives the index in the list of all globally shared edges for each of the locally shared edges. Demand-driven calculation so call needs to be synchronous among processors! Definition at line 693 of file globalMeshData.C. Referenced by syncTools::syncEdgeList().
Here is the caller graph for this function:
![]()
Change global mesh data given a topological change. Does a. full parallel analysis to determine shared points and boundaries. Definition at line 711 of file globalMeshData.C. Referenced by polyMesh::updateMesh().
Here is the caller graph for this function:
![]()
Definition at line 935 of file globalMeshData.C.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||