Simple class to manage surface merging information. More...
#include <mergedSurf.H>


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

|
default |
|
default |
| mergedSurf | ( | const meshedSurf & | unmergedSurface, |
| const scalar | mergeDim ) |
Construct from surface, and merge.
Definition at line 26 of file mergedSurf.C.
References merge(), and meshedSurf::meshedSurf().

| mergedSurf | ( | const pointField & | unmergedPoints, |
| const faceList & | unmergedFaces, | ||
| const scalar | mergeDim ) |
Construct from points/faces, and merge.
Definition at line 36 of file mergedSurf.C.
References merge().

| 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 47 of file mergedSurf.C.
References merge().

|
virtualdefault |
|
default |
|
default |
Move assignment.
References mergedSurf(), and meshedSurf::meshedSurf().

|
inlinenoexcept |
Number of faces.
Definition at line 149 of file mergedSurf.H.
References Foam::noexcept, and size().
Referenced by size().


|
inlinevirtualnoexcept |
Const access to (global) points used for the surface.
Implements meshedSurf.
Definition at line 157 of file mergedSurf.H.
References Foam::noexcept.
|
inlinevirtualnoexcept |
Const access to the surface faces.
Implements meshedSurf.
Definition at line 165 of file mergedSurf.H.
References Foam::noexcept.
|
inlinevirtualnoexcept |
Per-face zone/region information.
Reimplemented from meshedSurf.
Definition at line 173 of file mergedSurf.H.
References Foam::noexcept.
|
inlinevirtualnoexcept |
Per-face identifier (eg, element Id).
Reimplemented from meshedSurf.
Definition at line 181 of file mergedSurf.H.
References Foam::noexcept.
|
inlinenoexcept |
Map for reordered points (old-to-new).
Definition at line 189 of file mergedSurf.H.
References Foam::noexcept.
|
inlinenoexcept |
Const access to globalIndex used for points gathering.
Definition at line 197 of file mergedSurf.H.
References Foam::noexcept.
|
inlinenoexcept |
Const access to globalIndex used for faces gathering.
Definition at line 205 of file mergedSurf.H.
References Foam::noexcept.
| void clear | ( | ) |
Clear all storage.
Definition at line 69 of file mergedSurf.C.
| bool merge | ( | const meshedSurf & | unmergedSurface, |
| const scalar | mergeDim ) |
Merge meshed surfaces (in parallel only).
Definition at line 83 of file mergedSurf.C.
References meshedSurf::faceIds(), meshedSurf::faces(), merge(), meshedSurf::meshedSurf(), meshedSurf::points(), and meshedSurf::zoneIds().
Referenced by merge(), merge(), mergedSurf(), mergedSurf(), and mergedSurf().


| bool merge | ( | const pointField & | unmergedPoints, |
| const faceList & | unmergedFaces, | ||
| const scalar | mergeDim ) |
Merge meshed surfaces (in parallel only).
Definition at line 101 of file mergedSurf.C.
References merge(), and 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 120 of file mergedSurf.C.
References clear(), PatchTools::gatherAndMerge(), globalIndex::gatherOp(), Foam::notNull(), and UPstream::parRun().
