perfectInterface Class Reference

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

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

Constructor & Destructor Documentation

◆ perfectInterface() [1/2]

perfectInterface ( const word name,
const polyMesh mesh,
const word masterPatchName,
const word slavePatchName 
)

Construct from components.

Definition at line 68 of file perfectInterface.C.

◆ perfectInterface() [2/2]

perfectInterface ( const perfectInterface )
delete

Disallow default bitwise copy construction.

◆ ~perfectInterface()

~perfectInterface ( )
virtual

Destructor.

Definition at line 84 of file perfectInterface.C.

Member Function Documentation

◆ TypeName()

TypeName ( "perfectInterface"  )

Runtime type information.

◆ setRefinement() [1/2]

void setRefinement ( polyTopoChange ref) const
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().

Here is the call graph for this function:

◆ setRefinement() [2/2]

void setRefinement ( const indirectPrimitivePatch pp0,
const indirectPrimitivePatch pp1,
polyTopoChange ref 
) const
virtual

◆ operator=()

void operator= ( const perfectInterface )
delete

Disallow default bitwise assignment.


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