Public Member Functions | List of all members
sector Class Reference

Extrudes by rotating a surface around an axis. More...

Inheritance diagram for sector:
Inheritance graph
[legend]
Collaboration diagram for sector:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("sector")
 Runtime type information. More...
 
 sector (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~sector ()
 Destructor. More...
 
point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const
 
- Public Member Functions inherited from extrudeModel
 TypeName ("extrudeModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
 Declare runtime constructor selection table. More...
 
 extrudeModel (const word &modelType, const dictionary &)
 Construct from dictionary. More...
 
virtual ~extrudeModel ()
 Destructor. More...
 
label nLayers () const
 
scalar expansionRatio () const
 
scalar sumThickness (const label layer) const
 Helper: calculate cumulative relative thickness for layer. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from extrudeModel
static autoPtr< extrudeModelNew (const dictionary &)
 Select null constructed. More...
 
- Protected Member Functions inherited from extrudeModel
 extrudeModel (const extrudeModel &)
 Disallow default bitwise copy construct. More...
 
void operator= (const extrudeModel &)
 Disallow default bitwise assignment. More...
 
- Protected Attributes inherited from extrudeModel
label nLayers_
 
const scalar expansionRatio_
 
const dictionarydict_
 
const dictionarycoeffDict_
 

Detailed Description

Extrudes by rotating a surface around an axis.

- extrusion is opposite the surface/patch normal so inwards the source mesh

Definition at line 55 of file sector.H.

Constructor & Destructor Documentation

◆ sector()

sector ( const dictionary dict)

Construct from dictionary.

Definition at line 46 of file sector.C.

◆ ~sector()

~sector ( )
virtual

Destructor.

Definition at line 60 of file sector.C.

Member Function Documentation

◆ TypeName()

TypeName ( "sector"  )

Runtime type information.

◆ operator()()

point operator() ( const point surfacePoint,
const vector surfaceNormal,
const label  layer 
) const
virtual

Implements extrudeModel.

Definition at line 67 of file sector.C.

References Foam::cos(), Foam::mag(), n, extrudeModel::nLayers_, Foam::sin(), and extrudeModel::sumThickness().

Here is the call graph for this function:

The documentation for this class was generated from the following files: