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
Calculates a non-overlapping list of offsets based on an input size (eg, number of cells) from differ...
bool merge(const meshedSurf &unmergedSurface, const scalar mergeDim)
Merge meshed surfaces (in parallel only).
virtual const pointField & points() const noexcept
Const access to (global) points used for the surface.
mergedSurf() noexcept=default
Default construct.
const globalIndex & pointGlobalIndex() const noexcept
Const access to globalIndex used for points gathering.
virtual ~mergedSurf()=default
Destructor.
virtual const labelList & zoneIds() const noexcept
Per-face zone/region information.
virtual const faceList & faces() const noexcept
Const access to the surface faces.
mergedSurf(const mergedSurf &)=default
Copy construct.
const globalIndex & faceGlobalIndex() const noexcept
Const access to globalIndex used for faces gathering.
label size() const noexcept
Number of faces.
void clear()
Clear all storage.
mergedSurf & operator=(const mergedSurf &)=default
Copy assignment.
const labelList & pointsMap() const noexcept
Map for reordered points (old-to-new).
virtual const labelList & faceIds() const noexcept
Per-face identifier (eg, element Id).
Abstract definition of a meshed surface defined by faces and points.
constexpr meshedSurf() noexcept=default
Default construct.
List< label > labelList
A List of labels.
List< face > faceList
List of faces.
vectorField pointField
pointField is a vectorField.
Includes some common C++ headers, defines global macros and templates used in multiple places by Open...