OpenFOAM logo
Open Source CFD Toolkit

attachDetach Class Reference

Inheritance diagram for attachDetach:

Inheritance graph
[legend]
Collaboration diagram for attachDetach:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("attachDetach")
 Runtime type information.
 attachDetach (const word &name, const label index, const polyTopoChanger &mme, const word &faceZoneName, const word &masterPatchName, const word &slavePatchName, const scalarField &triggerTimes, const bool manualTrigger=false)
 Construct from components.
 attachDetach (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mesh)
 Construct from dictionary.
virtual ~attachDetach ()
const polyPatchID & masterPatchID () const
 Return master patch ID.
const polyPatchID & slavePatchID () const
 Return slave patch ID.
bool attached () const
 Is the interface attached?
const Switch & manualTrigger () const
bool setAttach () const
bool setDetach () const
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.
const scalarField & triggerTimes () const
 Get reference to trigger times.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.

Constructor & Destructor Documentation

attachDetach (  const word &  name,
const label  index,
const polyTopoChanger &  mme,
const word &  faceZoneName,
const word &  masterPatchName,
const word &  slavePatchName,
const scalarField &  triggerTimes,
const bool  manualTrigger = false
) 
 

Construct from components.

attachDetach (  const word &  name,
const dictionary &  dict,
const label  index,
const polyTopoChanger &  mesh
) 
 

Construct from dictionary.

virtual ~attachDetach (   )  [virtual]
 


Member Function Documentation

bool attached (   )  const [inline]
 

Is the interface attached?

Definition at line 204 of file attachDetach.H.

virtual bool changeTopology (   )  const [virtual]
 

Check for topology change.

Implements polyMeshModifier.

const Switch& manualTrigger (   )  const [inline]
 

Definition at line 209 of file attachDetach.H.

References Foam::pointField, and Foam::scalarField.

const polyPatchID& masterPatchID (   )  const [inline]
 

Return master patch ID.

Definition at line 192 of file attachDetach.H.

virtual void modifyMotionPoints (  pointField &  motionPoints  )  const [virtual]
 

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

bool setAttach (   )  const
 

bool setDetach (   )  const
 

virtual void setRefinement (  polyTopoChange &   )  const [virtual]
 

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

const polyPatchID& slavePatchID (   )  const [inline]
 

Return slave patch ID.

Definition at line 198 of file attachDetach.H.

const scalarField& triggerTimes (   )  const [inline]
 

Get reference to trigger times.

Definition at line 236 of file attachDetach.H.

TypeName (  "attachDetach"   ) 
 

Runtime type information.

virtual void updateMesh (  const mapPolyMesh &   )  [virtual]
 

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

virtual void write (  Ostream &   )  const [virtual]
 

Write.

Implements polyMeshModifier.

virtual void writeDict (  Ostream &   )  const [virtual]
 

Write dictionary.

Implements polyMeshModifier.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org