54#ifndef Foam_enrichedPatch_H
55#define Foam_enrichedPatch_H
84 mutable bool pointMapComplete_;
102 mutable unique_ptr<faceList> enrichedFacesPtr_;
105 mutable unique_ptr<labelList> meshPointsPtr_;
108 mutable unique_ptr<faceList> localFacesPtr_;
111 mutable unique_ptr<pointField> localPointsPtr_;
114 mutable unique_ptr<labelListList> pointPointsPtr_;
117 mutable unique_ptr<Map<labelList>> masterPointFacesPtr_;
123 mutable unique_ptr<faceList> cutFacesPtr_;
128 mutable unique_ptr<labelList> cutFaceMasterPtr_;
133 mutable unique_ptr<labelList> cutFaceSlavePtr_;
147 void calcPointMergeMap()
const;
150 void completePointMap()
const;
153 void calcMeshPoints()
const;
156 void calcLocalPoints()
const;
159 void calcLocalFaces()
const;
162 void calcPointPoints()
const;
165 void calcMasterPointFaces()
const;
168 void calcCutFaces()
const;
171 void clearCutFaces();
180 static const label enrichedFaceRatio_;
183 static const label maxFaceSizeDebug_;
A HashTable to objects of type <T> with a label key.
A list of faces which address into the list of points.
The enriched patch contains a double set of faces from the two sides of the sliding interface before ...
const faceList & localFaces() const
Return local faces.
const pointField & localPoints() const
Return local points.
const Map< labelList > & masterPointFaces() const
Master point face addressing.
void writeOBJ(const fileName &fName) const
Debugging: dump graphical representation to obj format file.
const labelList & cutFaceMaster() const
Return cut face master list.
const faceList & enrichedFaces() const
Return enriched faces.
const labelList & meshPoints() const
Return mesh points.
const Map< label > & pointMergeMap() const
Return map of point merges.
void calcEnrichedFaces(const labelListList &pointsIntoMasterEdges, const labelListList &pointsIntoSlaveEdges, const pointField &projectedSlavePoints)
Calculate enriched faces.
~enrichedPatch()=default
Destructor.
const labelListList & pointPoints() const
Return point-point addressing.
const labelList & cutFaceSlave() const
Return cut face slave list.
const Map< point > & pointMap() const
Return map of points.
const faceList & cutFaces() const
Return list of cut faces.
ClassName("enrichedPatch")
bool checkSupport() const
Check if the patch is fully supported.
A class for handling file names.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.