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 () |
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 &) | |
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... | |
Private Attributes | |
scalar | thickness_ |
Layer thickness. More... | |
scalar | firstCellThickness_ |
First cell thickness. More... | |
scalarList | layerPoints_ |
Layer cell distibution. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< extrudeModel > | New (const dictionary &) |
Select null constructed. More... | |
![]() | |
extrudeModel (const extrudeModel &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const extrudeModel &) |
Disallow default bitwise assignment. More... | |
![]() | |
label | nLayers_ |
const scalar | expansionRatio_ |
const dictionary & | dict_ |
const dictionary & | coeffDict_ |
Extrudes by transforming points normal to the surface by a given distance.
Definition at line 49 of file linearNormal.H.
linearNormal | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 45 of file linearNormal.C.
References extrudeModel::coeffDict_, Foam::exit(), Foam::FatalError, FatalErrorInFunction, linearNormal::firstCellThickness_, linearNormal::layerPoints_, extrudeModel::nLayers_, dictionary::readIfPresent(), extrudeModel::sumThickness(), and linearNormal::thickness_.
|
virtual |
Destructor.
Definition at line 91 of file linearNormal.C.
TypeName | ( | "linearNormal" | ) |
Runtime type information.
|
virtual |
Implements extrudeModel.
Definition at line 98 of file linearNormal.C.
|
private |
Layer thickness.
Definition at line 56 of file linearNormal.H.
Referenced by linearNormal::linearNormal().
|
private |
First cell thickness.
Definition at line 59 of file linearNormal.H.
Referenced by linearNormal::linearNormal().
|
private |
Layer cell distibution.
Definition at line 62 of file linearNormal.H.
Referenced by linearNormal::linearNormal().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.