The enriched patch contains a double set of faces from the two sides of the sliding interface before the cutting. More...
Public Member Functions | |
| ClassName ("enrichedPatch") | |
| enrichedPatch (const primitiveFacePatch &masterPatch, const primitiveFacePatch &slavePatch, const labelList &slavePointPointHits, const labelList &slavePointEdgeHits, const List< objectHit > &slavePointFaceHits) | |
| Construct from components. More... | |
| enrichedPatch (const enrichedPatch &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~enrichedPatch () | |
| Destructor. More... | |
| Map< point > & | pointMap () |
| Return non-const access to point map to add points. More... | |
| const Map< point > & | pointMap () const |
| Return map of points. More... | |
| Map< label > & | pointMergeMap () |
| Return map of point merges. More... | |
| const Map< label > & | pointMergeMap () const |
| Return map of point merges. More... | |
| void | calcEnrichedFaces (const labelListList &pointsIntoMasterEdges, const labelListList &pointsIntoSlaveEdges, const pointField &projectedSlavePoints) |
| Calculate enriched faces. More... | |
| const faceList & | enrichedFaces () const |
| Return enriched faces. More... | |
| const labelList & | meshPoints () const |
| Return mesh points. More... | |
| const faceList & | localFaces () const |
| Return local faces. More... | |
| const pointField & | localPoints () const |
| Return local points. More... | |
| const labelListList & | pointPoints () const |
| Return point-point addressing. More... | |
| const Map< labelList > & | masterPointFaces () const |
| Master point face addressing. More... | |
| const faceList & | cutFaces () const |
| Return list of cut faces. More... | |
| const labelList & | cutFaceMaster () const |
| Return cut face master list. More... | |
| const labelList & | cutFaceSlave () const |
| Return cut face slave list. More... | |
| bool | checkSupport () const |
| Check if the patch is fully supported. More... | |
| void | writeOBJ (const fileName &) const |
| Debugging: dump graphical representation to obj format file. More... | |
| void | operator= (const enrichedPatch &)=delete |
| Disallow default bitwise assignment. More... | |
The enriched patch contains a double set of faces from the two sides of the sliding interface before the cutting.
The patch basically consists of two over-lapping sets of faces sitting on a common point support, where every edge may be shared by more than 2 faces. The patch points are collected in a map. Additional information needed for cutting is the point insertion into every edge of master and slave.
Note: If new points are created during master-slave edge cutting, they should be registered with the pointMap.
Definition at line 67 of file enrichedPatch.H.
| enrichedPatch | ( | const primitiveFacePatch & | masterPatch, |
| const primitiveFacePatch & | slavePatch, | ||
| const labelList & | slavePointPointHits, | ||
| const labelList & | slavePointEdgeHits, | ||
| const List< objectHit > & | slavePointFaceHits | ||
| ) |
Construct from components.
Definition at line 135 of file enrichedPatch.C.
|
delete |
Disallow default bitwise copy construction.
| ~enrichedPatch | ( | ) |
Destructor.
Definition at line 170 of file enrichedPatch.C.
| ClassName | ( | "enrichedPatch" | ) |
| Foam::Map< Foam::point > & pointMap | ( | ) |
Return non-const access to point map to add points.
Definition at line 83 of file enrichedPatchPointMap.C.
Referenced by enrichedPatch::calcEnrichedFaces().

| const Foam::Map< Foam::point > & pointMap | ( | ) | const |
Return map of points.
Definition at line 94 of file enrichedPatchPointMap.C.
Return map of point merges.
Definition at line 219 of file enrichedPatch.H.
Referenced by enrichedPatch::calcEnrichedFaces().

Return map of point merges.
Definition at line 225 of file enrichedPatch.H.
| void calcEnrichedFaces | ( | const labelListList & | pointsIntoMasterEdges, |
| const labelListList & | pointsIntoSlaveEdges, | ||
| const pointField & | projectedSlavePoints | ||
| ) |
Calculate enriched faces.
Definition at line 36 of file enrichedPatchFaces.C.
References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), enrichedPatch::checkSupport(), Foam::e, HashTableCore::end(), Foam::endl(), enrichedPatch::enrichedFaces(), PrimitivePatch< FaceList, PointField >::faceEdges(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::find(), forAll, Foam::Info, PrimitivePatch< FaceList, PointField >::localFaces(), PrimitivePatch< FaceList, PointField >::localPoints(), Foam::magSqr(), Foam::max(), Foam::min(), Foam::nl, enrichedPatch::pointMap(), enrichedPatch::pointMergeMap(), List< T >::size(), and List< T >::transfer().

| const Foam::faceList & enrichedFaces | ( | ) | const |
Return enriched faces.
Definition at line 379 of file enrichedPatchFaces.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by enrichedPatch::calcEnrichedFaces().


| const Foam::labelList & meshPoints | ( | ) | const |
Return mesh points.
Definition at line 178 of file enrichedPatch.C.
| const Foam::faceList & localFaces | ( | ) | const |
Return local faces.
Definition at line 189 of file enrichedPatch.C.
| const Foam::pointField & localPoints | ( | ) | const |
Return local points.
Definition at line 200 of file enrichedPatch.C.
| const Foam::labelListList & pointPoints | ( | ) | const |
Return point-point addressing.
Definition at line 211 of file enrichedPatch.C.
| const Foam::Map< Foam::labelList > & masterPointFaces | ( | ) | const |
Master point face addressing.
Definition at line 148 of file enrichedPatchMasterPoints.C.
| const Foam::faceList & cutFaces | ( | ) | const |
Return list of cut faces.
Definition at line 668 of file enrichedPatchCutFaces.C.
| const Foam::labelList & cutFaceMaster | ( | ) | const |
Return cut face master list.
Definition at line 679 of file enrichedPatchCutFaces.C.
| const Foam::labelList & cutFaceSlave | ( | ) | const |
Return cut face slave list.
Definition at line 690 of file enrichedPatchCutFaces.C.
| bool checkSupport | ( | ) | const |
Check if the patch is fully supported.
Definition at line 222 of file enrichedPatch.C.
References Foam::endl(), forAll, found, and WarningInFunction.
Referenced by enrichedPatch::calcEnrichedFaces().


| void writeOBJ | ( | const fileName & | fName | ) | const |
Debugging: dump graphical representation to obj format file.
Definition at line 251 of file enrichedPatch.C.
References f(), forAll, Foam::nl, and Foam::meshTools::writeOBJ().

|
delete |
Disallow default bitwise assignment.