Extrudes by rotating a surface around an axis. More...
#include <sector.H>


Public Member Functions | |
| TypeName ("sector") | |
| Runtime type information. | |
| sector (const dictionary &dict) | |
| Construct from dictionary. | |
| virtual | ~sector ()=default |
| Destructor. | |
| point | operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const |
| Return corresponding point. | |
| Public Member Functions inherited from extrudeModel | |
| TypeName ("extrudeModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict)) | |
| Declare runtime constructor selection table. | |
| extrudeModel (const word &modelType, const dictionary &dict) | |
| Construct from dictionary for given model type. | |
| virtual | ~extrudeModel ()=default |
| Destructor. | |
| label | nLayers () const |
| Return the number of layers. | |
| scalar | expansionRatio () const |
| Return the expansion ratio. | |
| scalar | sumThickness (const label layer) const |
| Helper: calculate cumulative relative thickness for layer. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from extrudeModel | |
| static autoPtr< extrudeModel > | New (const dictionary &dict) |
| Select null constructed. | |
| Protected Member Functions inherited from extrudeModel | |
| extrudeModel (const extrudeModel &)=delete | |
| No copy construct. | |
| void | operator= (const extrudeModel &)=delete |
| No copy assignment. | |
| Protected Attributes inherited from extrudeModel | |
| label | nLayers_ |
| const scalar | expansionRatio_ |
| const dictionary & | coeffDict_ |
Extrudes by rotating a surface around an axis.
The sectorCoeffs dictionary entries
| Property | Description | Required | Default |
|---|---|---|---|
point | A point on the axis | yes | |
axis | Axis direction, normalized on input | yes | |
angle | Sector angle (degrees) | yes |
axisPt (1812 and earlier) as equivalent to point.
|
explicit |
Construct from dictionary.
Definition at line 42 of file sector.C.
References extrudeModel::coeffDict_, dict, extrudeModel::extrudeModel(), and Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName.
Referenced by cyclicSector::cyclicSector(), and wedge::wedge().


|
virtualdefault |
Destructor.
| TypeName | ( | "sector" | ) |
Runtime type information.
References dict.
|
virtual |
Return corresponding point.
Implements extrudeModel.
Definition at line 53 of file sector.C.
References Foam::cos(), Foam::mag(), n, extrudeModel::nLayers_, Foam::sin(), and extrudeModel::sumThickness().
