OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

perfectInterface Class Reference

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

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.

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 50 of file perfectInterface.H.


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 76 of file perfectInterface.C.

perfectInterface ( const word &  name,
const dictionary &  dict,
const label  index,
const polyTopoChanger &  mme 
)

Construct from dictionary.

Definition at line 94 of file perfectInterface.C.

~perfectInterface (  )  [virtual]

Definition at line 122 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 128 of file perfectInterface.C.

void setRefinement ( polyTopoChange &  ref  )  const [virtual]

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 150 of file perfectInterface.C.

void modifyMotionPoints ( pointField &  motionPoints  )  const [virtual]

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 455 of file perfectInterface.C.

void updateMesh ( const mapPolyMesh &  morphMap  )  [virtual]

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 462 of file perfectInterface.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Implements polyMeshModifier.

Definition at line 473 of file perfectInterface.C.

void writeDict ( Ostream &  os  )  const [virtual]

Write dictionary.

Implements polyMeshModifier.

Definition at line 483 of file perfectInterface.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd