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 |
![]() | |
TypeName ("topoSetSource") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, topoSetSource, word,(const polyMesh &mesh, const dictionary &dict),(mesh, dict)) | |
declareRunTimeSelectionTable (autoPtr, topoSetSource, istream,(const polyMesh &mesh, Istream &is),(mesh, is)) | |
topoSetSource (const polyMesh &mesh) | |
Construct from components. | |
autoPtr< topoSetSource > | clone () const |
Clone. | |
virtual | ~topoSetSource () |
const polyMesh & | mesh () const |
Static Public Attributes | |
static scalar | featureCos |
cos of feature angle for polyHedral to be splitHex |
Additional Inherited Members | |
![]() | |
enum | setAction { CLEAR, NEW, INVERT, ADD, DELETE, SUBSET, LIST, REMOVE } |
Enumeration defining the valid actions. More... | |
![]() | |
static setAction | toAction (const word &actionName) |
Convert string to action. | |
static Istream & | checkIs (Istream &is) |
Check state of stream. | |
static const string & | usage (const word &name) |
static autoPtr< topoSetSource > | New (const word &topoSetSourceType, const polyMesh &mesh, const dictionary &dict) |
Return a reference to the selected topoSetSource. | |
static autoPtr< topoSetSource > | New (const word &topoSetSourceType, const polyMesh &mesh, Istream &is) |
Return a reference to the selected topoSetSource. | |
![]() | |
void | addOrDelete (topoSet &set, const label cellI, const bool) const |
Add (if bool) cellI to set or delete cellI from set. | |
![]() | |
const polyMesh & | mesh_ |
![]() | |
static HashTable< string > * | usageTablePtr_ = NULL |
A table of usage strings. |
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().
|
virtual |
Definition at line 158 of file shapeToCell.C.
TypeName | ( | "shapeToCell" | ) |
Runtime type information.
|
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.
|
static |
cos of feature angle for polyHedral to be splitHex
Definition at line 80 of file shapeToCell.H.