|
| | volume (const word &name, const polyMesh &mesh, const dictionary &dict) |
| | Construct from dictionary. More...
|
| |
| virtual | ~volume () |
| | Destructor. More...
|
| |
| virtual zoneSet | generate () const =0 |
| | Generate and return the zoneSet. More...
|
| |
| template<class ZoneType , class UnaryOp , class ZoneGenType > |
| Foam::labelList | select (const ZoneGenType &zoneGen, const vectorField &pts, const UnaryOp &uop) const |
| |
| template<class ZoneType , class UnaryOp , class ZoneGenType > |
| Foam::labelList | select (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts, const UnaryOp &uop) const |
| |
| template<class ZoneType , class ZoneGenType > |
| Foam::labelList | selectOp (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts) const |
| |
| template<class UnaryOp , class ZoneGenType > |
| Foam::labelList | select (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts, boolList &flipMap, const UnaryOp &uop) const |
| |
| template<class ZoneGenType > |
| Foam::labelList | selectOp (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts, boolList &flipMap) const |
| |
| template<class ZoneGenType > |
| Foam::zoneSet | generate (const ZoneGenType &zoneGen) const |
| |
| | 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...
|
| |
|
| template<class ZoneType , class UnaryOp , class ZoneGenType > |
| labelList | select (const ZoneGenType &zoneGen, const vectorField &pts, const UnaryOp &uop) const |
| |
| template<class ZoneType , class UnaryOp , class ZoneGenType > |
| labelList | select (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts, const UnaryOp &uop) const |
| |
| template<class ZoneType , class ZoneGenType > |
| labelList | selectOp (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts) const |
| |
| template<class UnaryOp , class ZoneGenType > |
| labelList | select (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts, boolList &flipMap, const UnaryOp &uop) const |
| |
| template<class ZoneGenType > |
| labelList | selectOp (const ZoneGenType &zoneGen, const zoneGeneratorList &zoneGenerators, const vectorField &pts, boolList &flipMap) const |
| |
| template<class ZoneGenType > |
| zoneSet | generate (const ZoneGenType &zone) const |
| | Generate the zone of the given type. More...
|
| |
Abstract zoneGenerator which selects points, cells or faces with centres either inside a volume.
By default all the points, cells or faces of the mesh are tested for being inside or outside the volume but an optional single zone or list of zones may be provided and those points, cells or faces are tested instead. This provides an efficient method of hierarchical sub-division of space where an initial selection of points cells or faces is refined by selecting the sub-set inside or outside the given volume rather than having to generate another zone to intersect with.
- Usage
| Property | Description | Required | Default value |
type | Type of volume | yes | |
name | Name of the zone | no | zoneGenerator name |
zoneType | Type of zone | yes | |
select | Select either the inside or outside | no | inside |
moveUpdate | Switch to update after mesh motion | no | false |
zone | Optional zone to sub-set | no | |
zones | Optional list of zones to sub-set | no | |
- Source files
-
Definition at line 111 of file volume.H.