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

boundaryCutter Class Reference

Does modifications to boundary faces. More...

#include <dynamicMesh/boundaryCutter.H>


Detailed Description

Does modifications to boundary faces.

Does

  • move boundary points
  • split boundary edges (multiple per edge if nessecary)
  • face-centre decomposes boundary faces
  • diagonal split of boundary faces
Source files

Definition at line 66 of file boundaryCutter.H.

Collaboration diagram for boundaryCutter:

List of all members.

Public Member Functions

 ClassName ("boundaryCutter")
 Runtime type information.
 boundaryCutter (const polyMesh &mesh)
 Construct from mesh.
 ~boundaryCutter ()
void  setRefinement (const Map< point > &pointToPos, const Map< List< point > > &edgeToCuts, const Map< labelPair > &faceToSplit, const Map< point > &faceToFeaturePoint, polyTopoChange &meshMod)
 Do actual cutting with cut description. Inserts mesh changes.
void  updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
const HashTable< labelList,
edge, Hash< edge > > &  
edgeAddedPoints () const
 Per edge a sorted list (start to end) of added points.
const Map< label > &  faceAddedPoint () const
 Per face the mid point added.

Constructor & Destructor Documentation

boundaryCutter ( const polyMesh &   mesh  )

Construct from mesh.

Definition at line 393 of file boundaryCutter.C.

Definition at line 403 of file boundaryCutter.C.


Member Function Documentation

ClassName ( "boundaryCutter"    )

Runtime type information.

void setRefinement ( const Map< point > &   pointToPos,
const Map< List< point > > &   edgeToCuts,
const Map< labelPair > &   faceToSplit,
const Map< point > &   faceToFeaturePoint,
polyTopoChange &   meshMod  
)

Do actual cutting with cut description. Inserts mesh changes.

into meshMod. pointToPos : new position for selected points edgeToCuts : per edge set of points that need to be introduced faceToSplit : per face the diagonal split faceToFeaturePoint : per face the feature point. Triangulation around this feature point.

Definition at line 410 of file boundaryCutter.C.

References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::diag(), e, HashTable< T, label, Hash< label > >::end(), Foam::endl(), Foam::FatalError, FatalErrorIn, HashTable< T, Key, Hash >::find(), Foam::findIndex(), forAll, forAllConstIter, HashTable< T, label, Hash< label > >::found(), face::nextLabel(), Foam::Pout, polyTopoChange::setAction(), List< T >::setSize(), List< T >::size(), HashTable< T, Key, Hash >::size(), and edge::start().

void updateMesh ( const mapPolyMesh &   morphMap  )

Force recalculation of locally stored data on topological change.

Definition at line 836 of file boundaryCutter.C.

References e, edge::end(), forAll, forAllConstIter, mapPolyMesh::reverseFaceMap(), mapPolyMesh::reversePointMap(), List< T >::setSize(), List< T >::size(), edge::start(), and List< T >::transfer().

const HashTable<labelList, edge, Hash<edge> >& edgeAddedPoints (  ) const [inline]

Per edge a sorted list (start to end) of added points.

Definition at line 163 of file boundaryCutter.H.

const Map<label>& faceAddedPoint (  ) const [inline]

Per face the mid point added.

Definition at line 170 of file boundaryCutter.H.


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