Hack of attachDetach to couple patches when they perfectly align. Does not decouple. Used by stitchMesh app. Does geometric matching. More...
Public Member Functions | |
TypeName ("perfectInterface") | |
Runtime type information. More... | |
perfectInterface (const word &name, const polyMesh &mesh, const word &masterPatchName, const word &slavePatchName) | |
Construct from components. More... | |
perfectInterface (const perfectInterface &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~perfectInterface () |
Destructor. More... | |
virtual void | setRefinement (polyTopoChange &) const |
Insert the layer addition/removal instructions. More... | |
virtual void | setRefinement (const indirectPrimitivePatch &pp0, const indirectPrimitivePatch &pp1, polyTopoChange &) const |
Insert the layer addition/removal instructions. More... | |
void | operator= (const perfectInterface &)=delete |
Disallow default bitwise assignment. More... | |
Hack of attachDetach to couple patches when they perfectly align. Does not decouple. Used by stitchMesh app. Does geometric matching.
Definition at line 52 of file perfectInterface.H.
perfectInterface | ( | const word & | name, |
const polyMesh & | mesh, | ||
const word & | masterPatchName, | ||
const word & | slavePatchName | ||
) |
Construct from components.
Definition at line 68 of file perfectInterface.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 84 of file perfectInterface.C.
TypeName | ( | "perfectInterface" | ) |
Runtime type information.
|
virtual |
Insert the layer addition/removal instructions.
into the topological change
Definition at line 330 of file perfectInterface.C.
References Foam::endl(), Foam::identityMap(), patches, Foam::Pout, ref(), UList< T >::size(), and polyPatch::start().
|
virtual |
Insert the layer addition/removal instructions.
into the topological change. Uses only mesh, not any of the patch indices. Bit of a workaround - used in extruding a mesh.
Definition at line 90 of file perfectInterface.C.
References UIndirectList< T >::addressing(), PrimitivePatch< FaceList, PointField >::edges(), Foam::endl(), HashTable< T, Key, Hash >::erase(), Foam::exit(), f(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIter, HashSet< Key, Hash >::insert(), PrimitivePatch< FaceList, PointField >::localPoints(), Foam::mag(), Foam::matchPoints(), PrimitivePatch< FaceList, PointField >::meshPoints(), Foam::min(), patches, patchi, pFaces, Foam::Pout, ref(), face::reverseFace(), UIndirectList< T >::size(), List< T >::size(), and WarningInFunction.
|
delete |
Disallow default bitwise assignment.