Hack of attachDetach to couple patches when they perfectly align. Does not decouple. Used by stitchMesh app. Does geometric matching. More...
#include <dynamicMesh/perfectInterface.H>
Hack of attachDetach to couple patches when they perfectly align. Does not decouple. Used by stitchMesh app. Does geometric matching.
Definition at line 55 of file perfectInterface.H.
Inheritance diagram for perfectInterface:
Collaboration diagram for perfectInterface:Public Member Functions | |
| TypeName ("perfectInterface") | |
| Runtime type information.
| |
| perfectInterface (const word &name, const label index, const polyTopoChanger &mme, const word &faceZoneName, const word &masterPatchName, const word &slavePatchName) | |
| Construct from components.
| |
| perfectInterface (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) | |
| Construct from dictionary.
| |
| virtual | ~perfectInterface () |
| virtual bool | changeTopology () const |
| Check for topology change.
| |
| virtual void | setRefinement (polyTopoChange &) const |
| Insert the layer addition/removal instructions.
| |
| virtual void | modifyMotionPoints (pointField &motionPoints) const |
| Modify motion points to comply with the topological change.
| |
| virtual void | updateMesh (const mapPolyMesh &) |
| Force recalculation of locally stored data on topological change.
| |
| virtual void | write (Ostream &) const |
| Write.
| |
| virtual void | writeDict (Ostream &) const |
| Write dictionary.
| |
| perfectInterface | ( | const word & | name, |
| const label | index, | ||
| const polyTopoChanger & | mme, | ||
| const word & | faceZoneName, | ||
| const word & | masterPatchName, | ||
| const word & | slavePatchName | ||
| ) |
Construct from components.
Definition at line 83 of file perfectInterface.C.
| perfectInterface | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const polyTopoChanger & | mme | ||
| ) |
Construct from dictionary.
Definition at line 101 of file perfectInterface.C.
| ~perfectInterface | ( | ) | [virtual]
|
Definition at line 129 of file perfectInterface.C.
| TypeName | ( | "perfectInterface" | ) |
Runtime type information.
| bool changeTopology | ( | ) | const [virtual]
|
Check for topology change.
Implements polyMeshModifier.
Definition at line 135 of file perfectInterface.C.
References Foam::endl(), Foam::name(), and Foam::Pout.
| void setRefinement | ( | polyTopoChange & | ref ) | const [virtual]
|
Insert the layer addition/removal instructions.
into the topological change
Implements polyMeshModifier.
Definition at line 157 of file perfectInterface.C.
References polyMesh::boundaryMesh(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), Foam::endl(), Foam::exit(), f(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMesh::faces(), polyMesh::faceZones(), Foam::FatalError, FatalErrorIn, faceZone::flipMap(), forAll, primitiveMesh::isInternalFace(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), Foam::mag(), Foam::matchPoints(), mesh, PrimitivePatch< Face, FaceList, PointField, PointType >::meshPoints(), Foam::min(), patchIdentifier::name(), Foam::name(), patches, pFaces, primitiveMesh::pointFaces(), polyMesh::points(), Foam::Pout, polyTopoChange::setAction(), List< T >::size(), polyPatch::start(), WarningIn, faceZone::whichFace(), polyBoundaryMesh::whichPatch(), and ZoneMesh< ZoneType, MeshType >::whichZone().
| void modifyMotionPoints | ( | pointField & | motionPoints ) | const [virtual]
|
Modify motion points to comply with the topological change.
Implements polyMeshModifier.
Definition at line 462 of file perfectInterface.C.
| void updateMesh | ( | const mapPolyMesh & | morphMap ) | [virtual]
|
Force recalculation of locally stored data on topological change.
Implements polyMeshModifier.
Definition at line 469 of file perfectInterface.C.
References polyMesh::boundaryMesh(), polyMesh::faceZones(), mesh, and dynamicFvMesh::update().
| void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Implements polyMeshModifier.
Definition at line 480 of file perfectInterface.C.
References Foam::endl(), Foam::name(), Foam::nl, and Foam::type().
| void writeDict | ( | Ostream & | os ) | const [virtual]
|
Write dictionary.
Implements polyMeshModifier.
Definition at line 490 of file perfectInterface.C.
References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::name(), Foam::nl, and Foam::type().