A topoSetSource to select cells based on cell shape. More...
#include <meshTools/shapeToCell.H>
A topoSetSource to select cells based on cell shape.
Handles all ones from cellModeller and splitHex with 10 degrees feature angle.
Definition at line 52 of file shapeToCell.H.
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
|
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.
TypeName | ( | "shapeToCell" | ) |
Runtime type information.
void applyToSet | ( | const topoSetSource::setAction | action, |
topoSet & | set | ||
) | const [virtual]
|
Implements topoSetSource.
Definition at line 165 of file shapeToCell.C.
References topoSetSource::ADD, Foam::ListListOps::combine(), topoSetSource::DELETE, Foam::endl(), Foam::Info, and topoSetSource::NEW.
Foam::scalar featureCos [static]
|
Foam::cos(10.0 * mathematicalConstant::pi/180.0)
cos of feature angle for polyHedral to be splitHex
Definition at line 80 of file shapeToCell.H.