A zoneGenerator which converts the point, cell and face zones from a list of zoneGenerators into a pointZone. More...


Public Member Functions | |
| TypeName ("point") | |
| Runtime type information. More... | |
| point (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~point () |
| Destructor. More... | |
| virtual zoneSet | generate () const |
| Generate and return the zoneSet. 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 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 converts the point, cell and face zones from a list of zoneGenerators into a pointZone.
If a pointZone with the same name as the pointZone to be generated is returned by a zoneGenerator in the list it is ignored.
| Property | Description | Required | Default value |
|---|---|---|---|
type | Type: point | yes | |
name | Name of the zone | no | zoneGenerator name |
moveUpdate | Switch to update after mesh motion | no | false |
To convert cellZone named cone1 generated by
cone1
{
type truncatedCone;
zoneType cell;
point1 (-0.0075 0 -1);
point2 (-0.003 0.0025 1);
radius1 0.001;
radius2 0.0005;
} into a pointZone also named cone1, the following zoneGenerator named cone1Points can be used
cone1Points
{
type point;
name cone1;
cone1;
} If there is also a faceZone named cone1 which should not be included in the conversion to the pointZone the lookup of the cone1 can specify the cellZone type:
cone1Points
{
type point;
name cone1;
cone1
{
zoneType cell;
}
}Definition at line 122 of file point_zoneGenerator.H.
| point | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
Construct from dictionary.
Definition at line 49 of file point_zoneGenerator.C.
|
virtual |
Destructor.
Definition at line 63 of file point_zoneGenerator.C.
| TypeName | ( | "point" | ) |
Runtime type information.
|
virtual |
Generate and return the zoneSet.
Implements zoneGenerator.
Definition at line 69 of file point_zoneGenerator.C.
References zoneSet::cValid(), zoneSet::cZone(), f(), forAll, zoneSet::fValid(), zoneSet::fZone(), Zone< ZoneType, ZonesType >::name(), zoneSet::pValid(), and zoneSet::pZone().
