A topoSetSource to select faces based on usage in another faceSet. More...
#include <meshTools/faceZoneToFaceZone.H>
A topoSetSource to select faces based on usage in another faceSet.
Definition at line 49 of file faceZoneToFaceZone.H.
Public Member Functions | |
TypeName ("faceZoneToFaceZone") | |
Runtime type information. | |
faceZoneToFaceZone (const polyMesh &mesh, const word &setName) | |
Construct from components. | |
faceZoneToFaceZone (const polyMesh &mesh, const dictionary &dict) | |
Construct from dictionary. | |
faceZoneToFaceZone (const polyMesh &mesh, Istream &) | |
Construct from Istream. | |
virtual | ~faceZoneToFaceZone () |
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 |
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. |
faceZoneToFaceZone | ( | const polyMesh & | mesh, |
const word & | setName | ||
) |
Construct from components.
Definition at line 58 of file faceZoneToFaceZone.C.
faceZoneToFaceZone | ( | const polyMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 70 of file faceZoneToFaceZone.C.
faceZoneToFaceZone | ( | const polyMesh & | mesh, |
Istream & | is | ||
) |
Construct from Istream.
Definition at line 82 of file faceZoneToFaceZone.C.
|
virtual |
Definition at line 94 of file faceZoneToFaceZone.C.
TypeName | ( | "faceZoneToFaceZone" | ) |
Runtime type information.
|
virtual |
Implements topoSetSource.
Definition at line 101 of file faceZoneToFaceZone.C.
References topoSetSource::ADD, faceZoneSet::addressing(), topoSetSource::DELETE, Foam::endl(), faceZoneSet::flipMap(), forAll, HashTable< T, Key, Hash >::found(), Foam::Info, topoSetSource::NEW, List< T >::size(), List< T >::transfer(), faceZoneSet::updateSet(), and WarningIn.