Extrudes by transforming points normal to the surface by a given distance. More...
Public Member Functions | |
TypeName ("linearNormal") | |
Runtime type information. More... | |
linearNormal (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~linearNormal ()=default |
Destructor. More... | |
point | operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const |
![]() | |
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 &dict) | |
Construct from dictionary for given model type. More... | |
virtual | ~extrudeModel ()=default |
Destructor. More... | |
label | nLayers () const |
Return the number of layers. More... | |
scalar | expansionRatio () const |
Return the expansion ratio. More... | |
scalar | sumThickness (const label layer) const |
Helper: calculate cumulative relative thickness for layer. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< extrudeModel > | New (const dictionary &dict) |
Select null constructed. More... | |
![]() | |
extrudeModel (const extrudeModel &)=delete | |
No copy construct. More... | |
void | operator= (const extrudeModel &)=delete |
No copy assignment. More... | |
![]() | |
label | nLayers_ |
const scalar | expansionRatio_ |
const dictionary & | coeffDict_ |
Extrudes by transforming points normal to the surface by a given distance.
The linearNormalCoeffs dictionary entries
Property | Description | Required | Default |
---|---|---|---|
thickness | Extrusion thickness | yes | |
firstCellThickness | Thickness of the first layer | no | 0 |
Definition at line 74 of file linearNormal.H.
|
explicit |
Construct from dictionary.
Definition at line 48 of file linearNormal.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, extrudeModel::nLayers_, and extrudeModel::sumThickness().
|
virtualdefault |
Destructor.
TypeName | ( | "linearNormal" | ) |
Runtime type information.
|
virtual |
Implements extrudeModel.
Definition at line 96 of file linearNormal.C.