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

shapeToCell Class Reference

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

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

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 47 of file shapeToCell.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 94 of file shapeToCell.C.

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

Construct from dictionary.

Definition at line 114 of file shapeToCell.C.

shapeToCell ( const polyMesh &  mesh,
Istream &  is 
)

Construct from Istream.

Definition at line 134 of file shapeToCell.C.

~shapeToCell (  )  [virtual]

Definition at line 153 of file shapeToCell.C.


Member Function Documentation

TypeName ( "shapeToCell"   ) 

Runtime type information.

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

Implements topoSetSource.

Definition at line 160 of file shapeToCell.C.


Member Data Documentation

Initial value:

cos of feature angle for polyHedral to be splitHex

Definition at line 75 of file shapeToCell.H.


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