54 #ifndef Foam_enrichedPatch_H 55 #define Foam_enrichedPatch_H 83 mutable bool pointMapComplete_;
101 mutable std::unique_ptr<faceList> enrichedFacesPtr_;
104 mutable std::unique_ptr<labelList> meshPointsPtr_;
107 mutable std::unique_ptr<faceList> localFacesPtr_;
110 mutable std::unique_ptr<pointField> localPointsPtr_;
113 mutable std::unique_ptr<labelListList> pointPointsPtr_;
116 mutable std::unique_ptr<Map<labelList>> masterPointFacesPtr_;
122 mutable std::unique_ptr<faceList> cutFacesPtr_;
127 mutable std::unique_ptr<labelList> cutFaceMasterPtr_;
132 mutable std::unique_ptr<labelList> cutFaceSlavePtr_;
146 void calcPointMergeMap()
const;
149 void completePointMap()
const;
152 void calcMeshPoints()
const;
155 void calcLocalPoints()
const;
158 void calcLocalFaces()
const;
161 void calcPointPoints()
const;
164 void calcMasterPointFaces()
const;
167 void calcCutFaces()
const;
170 void clearCutFaces();
179 static const label enrichedFaceRatio_;
182 static const label maxFaceSizeDebug_;
void writeOBJ(const fileName &fName) const
Debugging: dump graphical representation to obj format file.
A class for handling file names.
~enrichedPatch()=default
Destructor.
const labelList & cutFaceMaster() const
Return cut face master list.
const faceList & cutFaces() const
Return list of cut faces.
const Map< labelList > & masterPointFaces() const
Master point face addressing.
bool checkSupport() const
Check if the patch is fully supported.
const faceList & enrichedFaces() const
Return enriched faces.
A list of faces which address into the list of points.
const labelList & cutFaceSlave() const
Return cut face slave list.
The enriched patch contains a double set of faces from the two sides of the sliding interface before ...
const Map< point > & pointMap() const
Return map of points.
ClassName("enrichedPatch")
const labelListList & pointPoints() const
Return point-point addressing.
const pointField & localPoints() const
Return local points.
void calcEnrichedFaces(const labelListList &pointsIntoMasterEdges, const labelListList &pointsIntoSlaveEdges, const pointField &projectedSlavePoints)
Calculate enriched faces.
const faceList & localFaces() const
Return local faces.
const labelList & meshPoints() const
Return mesh points.
const Map< label > & pointMergeMap() const
Return map of point merges.
A HashTable to objects of type <T> with a label key.