Go to the documentation of this file.
52 #ifndef enrichedPatch_H
53 #define enrichedPatch_H
55 #include "primitiveFacePatch.H"
labelList * cutFaceMasterPtr_
Cut face master.
const labelList & meshPoints() const
Return mesh points.
const Map< labelList > & masterPointFaces() const
Master point face addressing.
A class for handling file names.
const labelList & slavePointEdgeHits_
Slave point edge hits.
const Map< label > & pointMergeMap() const
Return map of point merges.
faceList * enrichedFacesPtr_
Enriched patch.
labelList * cutFaceSlavePtr_
Cut face slave.
void calcEnrichedFaces(const labelListList &pointsIntoMasterEdges, const labelListList &pointsIntoSlaveEdges, const pointField &projectedSlavePoints)
Calculate enriched faces.
const primitiveFacePatch & slavePatch_
Reference to slave patch.
A HashTable to objects of type <T> with a label key.
The enriched patch contains a double set of faces from the two sides of the sliding interface before ...
Map< labelList > * masterPointFacesPtr_
static const label nFaceHits_
Estimated number of master face hits by slave points.
Map< label > pointMergeMap_
Map of point merges.
const pointField & localPoints() const
Return local points.
bool checkSupport() const
Check if the patch is fully supported.
const primitiveFacePatch & masterPatch_
Reference to master patch.
Map< label > & pointMergeMap()
Return map of point merges.
labelList * meshPointsPtr_
Mesh points.
pointField * localPointsPtr_
Local points.
Map< point > & pointMap()
Return non-const access to point map to add points.
faceList * localFacesPtr_
Local faces.
static const label enrichedFaceRatio_
Estimated ratio of original-to-enriched face size.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
void calcMasterPointFaces() const
Calculate master point addressing.
void writeOBJ(const fileName &) const
Debugging: dump graphical representation to obj format file.
void calcPointMergeMap() const
Calculate point merge map.
void calcCutFaces() const
Calculate cut faces.
const List< objectHit > & slavePointFaceHits_
Slave point face hits.
labelListList * pointPointsPtr_
Point-point addressing.
bool pointMapComplete_
Has the point map been completed?
void operator=(const enrichedPatch &)
Disallow default bitwise assignment.
void calcLocalPoints() const
Calculate local points.
const faceList & cutFaces() const
Return list of cut faces.
const faceList & enrichedFaces() const
Return enriched faces.
faceList * cutFacesPtr_
Cut faces.
const faceList & localFaces() const
Return local faces.
const labelListList & pointPoints() const
Return point-point addressing.
const labelList & slavePointPointHits_
Slave point point hits.
const labelList & cutFaceSlave() const
Return cut face slave list.
~enrichedPatch()
Destructor.
void clearOut()
Clear out demand-driven data.
ClassName("enrichedPatch")
void completePointMap() const
Complete point map.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const label maxFaceSizeDebug_
Size of face on which the check is forced.
void calcPointPoints() const
Calculate point-point addressing.
void calcMeshPoints() const
Calculate mesh points.
enrichedPatch(const enrichedPatch &)
Disallow default bitwise copy construct.
void calcLocalFaces() const
Calculate local faces.
void clearCutFaces()
Clear cut faces.
const labelList & cutFaceMaster() const
Return cut face master list.
A list of faces which address into the list of points.
Map< point > pointMap_
Map of points supporting patch faces.