39 #ifndef Foam_mergedSurf_H 40 #define Foam_mergedSurf_H 101 const scalar mergeDim
109 const scalar mergeDim
119 const scalar mergeDim
132 return faces_.
size();
168 return pointGlobalIndex_;
174 return faceGlobalIndex_;
187 const scalar mergeDim
195 const scalar mergeDim
205 const scalar mergeDim
virtual const faceList & faces() const noexcept
Const access to the surface faces.
void size(const label n)
Older name for setAddressableSize.
mergedSurf() noexcept=default
Default construct.
const globalIndex & faceGlobalIndex() const noexcept
Const access to globalIndex used for faces gathering.
virtual const labelList & faceIds() const noexcept
Per-face identifier (eg, element Id)
const labelList & pointsMap() const noexcept
Map for reordered points (old-to-new)
virtual ~mergedSurf()=default
Destructor.
virtual const pointField & points() const noexcept
Const access to (global) points used for the surface.
Abstract definition of a meshed surface defined by faces and points.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
Simple class to manage surface merging information.
virtual const labelList & zoneIds() const noexcept
Per-face zone/region information.
bool merge(const meshedSurf &unmergedSurface, const scalar mergeDim)
Merge meshed surfaces (in parallel only).
const globalIndex & pointGlobalIndex() const noexcept
Const access to globalIndex used for points gathering.
void clear()
Clear all storage.
label size() const noexcept
Number of faces.
Includes some standard C++ headers, defines global macros and templates used in multiple places by Op...
mergedSurf & operator=(const mergedSurf &)=default
Copy assignment.