Simple class to manage surface merging information. More...


Public Member Functions | |
| mergedSurf () noexcept=default | |
| Default construct. More... | |
| mergedSurf (const mergedSurf &)=default | |
| Copy construct. More... | |
| mergedSurf (mergedSurf &&)=default | |
| Move construct. More... | |
| mergedSurf & | operator= (const mergedSurf &)=default |
| Copy assignment. More... | |
| mergedSurf & | operator= (mergedSurf &&)=default |
| Move assignment. More... | |
| mergedSurf (const meshedSurf &unmergedSurface, const scalar mergeDim) | |
| Construct from surface, and merge. More... | |
| mergedSurf (const pointField &unmergedPoints, const faceList &unmergedFaces, const scalar mergeDim) | |
| Construct from points/faces, and merge. More... | |
| mergedSurf (const pointField &unmergedPoints, const faceList &unmergedFaces, const labelList &origZoneIds, const labelList &origFaceIds, const scalar mergeDim) | |
| Construct from points/faces/zones/face-ids, and merge. More... | |
| virtual | ~mergedSurf ()=default |
| Destructor. More... | |
| label | size () const noexcept |
| Number of faces. More... | |
| virtual const pointField & | points () const noexcept |
| Const access to (global) points used for the surface. More... | |
| virtual const faceList & | faces () const noexcept |
| Const access to the surface faces. More... | |
| virtual const labelList & | zoneIds () const noexcept |
| Per-face zone/region information. More... | |
| virtual const labelList & | faceIds () const noexcept |
| Per-face identifier (eg, element Id) More... | |
| const labelList & | pointsMap () const noexcept |
| Map for reordered points (old-to-new) More... | |
| const globalIndex & | pointGlobalIndex () const noexcept |
| Const access to globalIndex used for points gathering. More... | |
| const globalIndex & | faceGlobalIndex () const noexcept |
| Const access to globalIndex used for faces gathering. More... | |
| void | clear () |
| Clear all storage. More... | |
| bool | merge (const meshedSurf &unmergedSurface, const scalar mergeDim) |
| Merge meshed surfaces (in parallel only). More... | |
| bool | merge (const pointField &unmergedPoints, const faceList &unmergedFaces, const scalar mergeDim) |
| Merge meshed surfaces (in parallel only). More... | |
| bool | merge (const pointField &unmergedPoints, const faceList &unmergedFaces, const labelList &origZoneIds, const labelList &origFaceIds, const scalar mergeDim) |
| Merge meshed surfaces (in parallel only). More... | |
Public Member Functions inherited from meshedSurf | |
| constexpr | meshedSurf () noexcept=default |
| Default construct. More... | |
| virtual | ~meshedSurf ()=default |
| Destructor. More... | |
Simple class to manage surface merging information.
Merging is done with PatchTools::gatherAndMerge()
Definition at line 50 of file mergedSurf.H.
|
defaultnoexcept |
Default construct.
|
default |
Copy construct.
|
default |
Move construct.
| mergedSurf | ( | const meshedSurf & | unmergedSurface, |
| const scalar | mergeDim | ||
| ) |
Construct from surface, and merge.
Definition at line 27 of file mergedSurf.C.
| mergedSurf | ( | const pointField & | unmergedPoints, |
| const faceList & | unmergedFaces, | ||
| const scalar | mergeDim | ||
| ) |
Construct from points/faces, and merge.
Definition at line 37 of file mergedSurf.C.
| mergedSurf | ( | const pointField & | unmergedPoints, |
| const faceList & | unmergedFaces, | ||
| const labelList & | origZoneIds, | ||
| const labelList & | origFaceIds, | ||
| const scalar | mergeDim | ||
| ) |
Construct from points/faces/zones/face-ids, and merge.
Definition at line 48 of file mergedSurf.C.
|
virtualdefault |
Destructor.
|
default |
Copy assignment.
|
default |
Move assignment.
|
inlinenoexcept |
Number of faces.
Definition at line 149 of file mergedSurf.H.
References UList< T >::size().

|
inlinevirtualnoexcept |
Const access to (global) points used for the surface.
Implements meshedSurf.
Definition at line 157 of file mergedSurf.H.
|
inlinevirtualnoexcept |
Const access to the surface faces.
Implements meshedSurf.
Definition at line 165 of file mergedSurf.H.
|
inlinevirtualnoexcept |
Per-face zone/region information.
Reimplemented from meshedSurf.
Definition at line 173 of file mergedSurf.H.
|
inlinevirtualnoexcept |
Per-face identifier (eg, element Id)
Reimplemented from meshedSurf.
Definition at line 181 of file mergedSurf.H.
|
inlinenoexcept |
Map for reordered points (old-to-new)
Definition at line 189 of file mergedSurf.H.
|
inlinenoexcept |
Const access to globalIndex used for points gathering.
Definition at line 197 of file mergedSurf.H.
|
inlinenoexcept |
Const access to globalIndex used for faces gathering.
Definition at line 205 of file mergedSurf.H.
| void clear | ( | ) |
Clear all storage.
Definition at line 69 of file mergedSurf.C.
References List< T >::clear(), and globalIndex::clear().

| bool merge | ( | const meshedSurf & | unmergedSurface, |
| const scalar | mergeDim | ||
| ) |
Merge meshed surfaces (in parallel only).
Definition at line 84 of file mergedSurf.C.
References meshedSurf::faceIds(), meshedSurf::faces(), meshedSurf::points(), and meshedSurf::zoneIds().

| bool merge | ( | const pointField & | unmergedPoints, |
| const faceList & | unmergedFaces, | ||
| const scalar | mergeDim | ||
| ) |
Merge meshed surfaces (in parallel only).
Definition at line 102 of file mergedSurf.C.
References List< label >::null().

| bool merge | ( | const pointField & | unmergedPoints, |
| const faceList & | unmergedFaces, | ||
| const labelList & | origZoneIds, | ||
| const labelList & | origFaceIds, | ||
| const scalar | mergeDim | ||
| ) |
Merge meshed surfaces (in parallel only).
Definition at line 121 of file mergedSurf.C.
References clear(), PatchTools::gatherAndMerge(), globalIndex::gatherOp(), Foam::notNull(), and UPstream::parRun().
