![]() |
|
Public Member Functions | |
ClassName ("parallelInfo") | |
Runtime type information. | |
parallelInfo (const polyMesh &mesh) | |
Construct from mesh, derive rest (does parallel communication!). | |
parallelInfo (const IOobject &io, const polyMesh &mesh) | |
Old behaviour: read constructor given IOobject and a polyMesh. | |
parallelInfo (const polyMesh &mesh, const bool parallel, const bool cyclicParallel, const label nTotalPoints, const label nTotalFaces, const label nTotalCells, const label nGlobalPoints, const labelList &sharedPointLabels, const labelList &sharedPointAddr, const labelList &sharedPointGlobalLabels) | |
Construct from components. !To be removed when we trust above. | |
~parallelInfo () | |
void | clearOut () |
Remove all demand driven data. | |
const polyMesh & | mesh () const |
Return the mesh reference. | |
bool | parallel () const |
Does the mesh contain processor patches? (also valid when. | |
const boundBox & | bb () const |
bool | cyclicParallel () const |
Does the mesh contain cyclic parallel faces (only valid when. | |
label | nTotalPoints () const |
Return total number of points in decomposed mesh. | |
label | nTotalFaces () const |
Return total number of faces in decomposed mesh. | |
label | nTotalCells () const |
Return total number of cells in decomposed mesh. | |
const labelList & | processorPatches () const |
Return list of processor patch labels. | |
const labelList & | processorPatchIndices () const |
Return list of indices into processorPatches_ for each patch. | |
const labelList & | processorPatchNeighbours () const |
Return processorPatchIndices of the neighbours. | |
label | nGlobalPoints () const |
Return number of globally shared points. | |
const labelList & | sharedPointLabels () const |
Return indices of local points that are globally shared. | |
const labelList & | sharedPointAddr () const |
Return addressing into the complete globally shared points. | |
const labelList & | sharedPointGlobalLabels () const |
Return shared point global labels. Tries to read. | |
pointField | sharedPoints () const |
Collect coordinates of shared points on all processors. | |
pointField | geometricSharedPoints () const |
Like sharedPoints but keeps cyclic points separate. | |
label | nGlobalEdges () const |
Return number of globally shared edges. Demand-driven. | |
const labelList & | sharedEdgeLabels () const |
Return indices of local edges that are globally shared. | |
const labelList & | sharedEdgeAddr () const |
Return addressing into the complete globally shared edge. | |
void | movePoints (const pointField &newPoints) |
Update for moving points. | |
void | updateMesh () |
Change global mesh data given a topological change. Does a. | |
bool | write () const |
Static Public Attributes | |
const Foam::scalar | matchTol_ |
Geomtric tolerance (fraction of bounding box). | |
Friends | |
Ostream & | operator<< (Ostream &, const parallelInfo &) |
|
Construct from mesh, derive rest (does parallel communication!).
|
|
Old behaviour: read constructor given IOobject and a polyMesh. reference. Only use this for testing! |
|
Construct from components. !To be removed when we trust above. construct from mesh! |
|
|
|
Definition at line 307 of file parallelInfo.H. References Foam::label. |
|
Runtime type information.
|
|
Remove all demand driven data.
|
|
Does the mesh contain cyclic parallel faces (only valid when. running parallel) Definition at line 316 of file parallelInfo.H. References Foam::labelList. |
|
Like sharedPoints but keeps cyclic points separate. (does geometric merging; uses matchTol_*bb as merging tolerance) Use sharedPoints() instead. |
|
Return the mesh reference.
Definition at line 293 of file parallelInfo.H. References Foam::label. |
|
Update for moving points.
|
|
Return number of globally shared edges. Demand-driven. calculation so call needs to be synchronous among processors! |
|
Return number of globally shared points.
Definition at line 374 of file parallelInfo.H. References Foam::pointField. |
|
Return total number of cells in decomposed mesh.
Definition at line 334 of file parallelInfo.H. |
|
Return total number of faces in decomposed mesh.
Definition at line 328 of file parallelInfo.H. |
|
Return total number of points in decomposed mesh.
Definition at line 322 of file parallelInfo.H. References Foam::labelList. |
|
Does the mesh contain processor patches? (also valid when. not running parallel) Definition at line 302 of file parallelInfo.H. |
|
Return list of processor patch labels. (size of list = number of processor patches) Definition at line 346 of file parallelInfo.H. References Foam::labelList. |
|
Return list of indices into processorPatches_ for each patch. Index = -1 for non-processor parches. (size of list = number of patches) Definition at line 356 of file parallelInfo.H. References Foam::labelList. |
|
Return processorPatchIndices of the neighbours. processor patches. -1 if not running parallel. Definition at line 365 of file parallelInfo.H. References Foam::labelList. |
|
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! |
|
Return indices of local edges that are globally shared. Demand-driven calculation so call needs to be synchronous among processors! |
|
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 395 of file parallelInfo.H. References Foam::labelList, and Foam::pointField. |
|
Return shared point global labels. Tries to read. 'pointProcAddressing' and returns list or -1 if none available. |
|
Return indices of local points that are globally shared.
Definition at line 380 of file parallelInfo.H. References Foam::label, Foam::labelList, and Foam::pointField. |
|
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) |
|
Change global mesh data given a topological change. Does a. full parallel analysis to determine shared points and boundaries. |
|
|
|
|
|
Geomtric tolerance (fraction of bounding box).
Definition at line 247 of file parallelInfo.H. |