A zoneGenerator which initially selects all the elements in the zones and then removes the elements from the given list of zoneGenerators. More...


Public Member Functions | |
| TypeName ("invert") | |
| Runtime type information. More... | |
| invert (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~invert () |
| Destructor. More... | |
| virtual zoneSet | generate () const |
| Generate and return the zoneSet. More... | |
Public Member Functions inherited from Union | |
| TypeName ("union") | |
| Runtime type information. More... | |
| Union (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~Union () |
| Destructor. More... | |
Public Member Functions inherited from zoneGenerator | |
| TypeName ("zoneGenerator") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, zoneGenerator, dictionary,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| zoneGenerator (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from name, polyMesh and dictionary. More... | |
| zoneGenerator (const zoneGenerator &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~zoneGenerator () |
| Destructor. More... | |
| const word & | name () const |
| const word & | zoneName () const |
| bool | moveUpdate () const |
| Return true if the zoneGenerator updates any of the zones. More... | |
| virtual zoneSet | movePoints () const |
| Regenerate the zoneSet following mesh point motion. More... | |
| void | operator= (const zoneGenerator &)=delete |
| Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from zoneGenerator | |
| static autoPtr< zoneGenerator > | New (const word &name, const polyMesh &mesh, const dictionary &dict) |
| Select constructed from name, mesh and dictionary. More... | |
| static autoPtr< zoneGenerator > | New (const word &name, const zoneTypes &zoneType, const polyMesh &mesh, const dictionary &dict) |
| Select constructed from name, zoneType, mesh and dictionary. More... | |
| static autoPtr< zoneGenerator > | New (const polyMesh &mesh, const dictionary &dict) |
| Select constructed from mesh and first valid dictionary. More... | |
| static labelList | indices (const boolList &selected) |
| Return the list of selected indices. More... | |
Protected Member Functions inherited from Union | |
| zoneSet | generate (const bool diff, const bool all) const |
| Generate the zoneSet for union or difference. More... | |
Protected Attributes inherited from zoneGenerator | |
| const word | name_ |
| Name of zone generator. More... | |
| const dictionary | dict_ |
| Dictionary cached for error context. More... | |
| const word | zoneName_ |
| Name of the zone (defaults to the name of the generator) More... | |
| const polyMesh & | mesh_ |
| Reference to the polyMesh. More... | |
| bool | moveUpdate_ |
| Switch to update the zones if the mesh points are moved. More... | |
A zoneGenerator which initially selects all the elements in the zones and then removes the elements from the given list of zoneGenerators.
This is equivalent to using the zoneGenerator::difference with all as the first zoneGenerator in the list.
| Property | Description | Required | Default value |
|---|---|---|---|
type | Type: invert | yes | |
name | Name of the zone | no | zoneGenerator name |
zoneType | Type of zone | no | all the zone types |
moveUpdate | Switch to update after mesh motion | no | false |
Each zoneGenerator returns a zoneSet containing a pointZone and/or a cellZone and/or a faceZone, the zoneGenerators::invert operation combines each of the zone types unless the zoneType is specified in which case only the zones of that type are combined.
A cellZone named notConeOrAnnulus containing all the cells mesh except those with centres inside the predefined cone1 cellZone which is looked-up from the cellZoneList or the locally defined annulus is be generated by
notConeOrAnnulus
{
type invert;
cone1
{
zoneType cell;
}
annulus1
{
type annulus;
zoneType cell;
point1 (-0.0075 0 -1);
point2 (-0.003 0.0025 1);
outerRadius 0.002;
innerRadius 0.001;
}
}
| invert | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
| TypeName | ( | "invert" | ) |
Runtime type information.
|
virtual |
Generate and return the zoneSet.
Reimplemented from Union.
Definition at line 63 of file invert.C.
References Union::generate().
