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

shapeToCell Class Reference

A topoSetSource to select cells based on cell shape. More...

#include <meshTools/shapeToCell.H>


Detailed Description

A topoSetSource to select cells based on cell shape.

Handles all ones from cellModeller and splitHex with 10 degrees feature angle.

Source files

Definition at line 52 of file shapeToCell.H.

Inheritance diagram for shapeToCell:
Collaboration diagram for shapeToCell:

List of all members.

Public Member Functions

 TypeName ("shapeToCell")
 Runtime type information.
 shapeToCell (const polyMesh &mesh, const word &type)
 Construct from components.
 shapeToCell (const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
 shapeToCell (const polyMesh &mesh, Istream &)
 Construct from Istream.
virtual  ~shapeToCell ()
virtual void  applyToSet (const topoSetSource::setAction action, topoSet &) const

Static Public Attributes

static scalar  featureCos
 cos of feature angle for polyHedral to be splitHex

Constructor & Destructor Documentation

shapeToCell ( const polyMesh &   mesh,
const word &   type  
)

Construct from components.

Definition at line 99 of file shapeToCell.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and cellModeller::lookup().

shapeToCell ( const polyMesh &   mesh,
const dictionary &   dict  
)

Construct from dictionary.

Definition at line 119 of file shapeToCell.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and cellModeller::lookup().

shapeToCell ( const polyMesh &   mesh,
Istream &   is  
)

Construct from Istream.

Definition at line 139 of file shapeToCell.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and cellModeller::lookup().

~shapeToCell (  ) [virtual]

Definition at line 158 of file shapeToCell.C.


Member Function Documentation

TypeName ( "shapeToCell"    )

Runtime type information.

void applyToSet ( const topoSetSource::setAction   action,
topoSet &   set  
) const [virtual]

Member Data Documentation

Foam::scalar featureCos [static]
Initial value:

cos of feature angle for polyHedral to be splitHex

Definition at line 80 of file shapeToCell.H.


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