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 labelUList &slavePointPointHits, const labelUList &slavePointEdgeHits, const UList< objectHit > &slavePointFaceHits) | |
~enrichedPatch ()=default | |
const Map< point > & | pointMap () const |
Map< point > & | pointMap () |
const Map< label > & | pointMergeMap () const |
Map< label > & | pointMergeMap () |
void | calcEnrichedFaces (const labelListList &pointsIntoMasterEdges, const labelListList &pointsIntoSlaveEdges, const pointField &projectedSlavePoints) |
const faceList & | enrichedFaces () const |
const labelList & | meshPoints () const |
const faceList & | localFaces () const |
const pointField & | localPoints () const |
const labelListList & | pointPoints () const |
const Map< labelList > & | masterPointFaces () const |
const faceList & | cutFaces () const |
const labelList & | cutFaceMaster () const |
const labelList & | cutFaceSlave () const |
bool | checkSupport () const |
void | writeOBJ (const fileName &fName) const |
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 65 of file enrichedPatch.H.
enrichedPatch | ( | const primitiveFacePatch & | masterPatch, |
const primitiveFacePatch & | slavePatch, | ||
const labelUList & | slavePointPointHits, | ||
const labelUList & | slavePointEdgeHits, | ||
const UList< objectHit > & | slavePointFaceHits | ||
) |
Definition at line 124 of file enrichedPatch.C.
|
default |
ClassName | ( | "enrichedPatch" | ) |
|
inline |
Definition at line 23 of file enrichedPatchI.H.
|
inline |
Definition at line 45 of file enrichedPatchI.H.
|
inline |
void calcEnrichedFaces | ( | const labelListList & | pointsIntoMasterEdges, |
const labelListList & | pointsIntoSlaveEdges, | ||
const pointField & | projectedSlavePoints | ||
) |
Definition at line 33 of file enrichedPatchFaces.C.
References Foam::abort(), DynamicList::append(), Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, Foam::endl(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, Foam::magSqr(), Foam::max(), Foam::min(), and Foam::nl.
const Foam::faceList & enrichedFaces | ( | ) | const |
Definition at line 380 of file enrichedPatchFaces.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
const Foam::labelList & meshPoints | ( | ) | const |
Definition at line 158 of file enrichedPatch.C.
const Foam::faceList & localFaces | ( | ) | const |
Definition at line 169 of file enrichedPatch.C.
const Foam::pointField & localPoints | ( | ) | const |
Definition at line 180 of file enrichedPatch.C.
const Foam::labelListList & pointPoints | ( | ) | const |
Definition at line 191 of file enrichedPatch.C.
const Foam::Map< Foam::labelList > & masterPointFaces | ( | ) | const |
Definition at line 96 of file enrichedPatchMasterPoints.C.
const Foam::faceList & cutFaces | ( | ) | const |
Definition at line 647 of file enrichedPatchCutFaces.C.
const Foam::labelList & cutFaceMaster | ( | ) | const |
Definition at line 658 of file enrichedPatchCutFaces.C.
const Foam::labelList & cutFaceSlave | ( | ) | const |
Definition at line 669 of file enrichedPatchCutFaces.C.
bool checkSupport | ( | ) | const |
Definition at line 202 of file enrichedPatch.C.
References Foam::endl(), forAll, found, and WarningInFunction.
void writeOBJ | ( | const fileName & | fName | ) | const |
Definition at line 229 of file enrichedPatch.C.
References f(), Foam::nl, and Foam::meshTools::writeOBJ().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.