FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

perfectInterface Class Reference

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>


Detailed Description

Hack of attachDetach to couple patches when they perfectly align. Does not decouple. Used by stitchMesh app. Does geometric matching.

Source files

Definition at line 55 of file perfectInterface.H.

Inheritance diagram for perfectInterface:
Collaboration diagram for perfectInterface:

List of all members.

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

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 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().


The documentation for this class was generated from the following files: