Top level extrusion model class. More...

Public Member Functions | |
| TypeName ("extrudeModel") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict)) | |
| Declare runtime constructor selection table. More... | |
| extrudeModel (const dictionary &) | |
| Construct from dictionary. More... | |
| extrudeModel (const extrudeModel &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~extrudeModel () |
| Destructor. More... | |
| label | nLayers () const |
| Return the number of layers in the extrusion. More... | |
| scalar | expansionRatio () const |
| Return the extrusion expansion ratio. More... | |
| void | operator= (const extrudeModel &)=delete |
| Disallow default bitwise assignment. More... | |
| scalar | sumThickness (const label layer) const |
| Helper: calculate cumulative relative thickness for layer. More... | |
| virtual point | operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const =0 |
Static Public Member Functions | |
| static autoPtr< extrudeModel > | New (const dictionary &) |
| Select null constructed. More... | |
Protected Member Functions | |
| const dictionary & | coeffDict (const dictionary &dict) const |
| Backward compatibility function. More... | |
Protected Attributes | |
| label | nLayers_ |
| const scalar | expansionRatio_ |
| extrudeModel | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 38 of file extrudeModel.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 47 of file extrudeModel.C.
|
protected |
Backward compatibility function.
to return the model Coeffs dictionary
Definition at line 53 of file extrudeModel.C.
References dict, dictionary::optionalSubDict(), and Foam::type().
Referenced by linearNormal::linearNormal().


| TypeName | ( | "extrudeModel" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| extrudeModel | , | ||
| dictionary | , | ||
| (const dictionary &dict) | , | ||
| (dict) | |||
| ) |
Declare runtime constructor selection table.
|
static |
Select null constructed.
Definition at line 30 of file extrudeModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::Info, dictionary::lookupBackwardsCompatible(), and Foam::nl.

| Foam::label nLayers | ( | ) | const |
Return the number of layers in the extrusion.
Definition at line 62 of file extrudeModel.C.
| Foam::scalar expansionRatio | ( | ) | const |
Return the extrusion expansion ratio.
Definition at line 68 of file extrudeModel.C.
Referenced by sigmaRadial::sigmaRadial().

|
delete |
Disallow default bitwise assignment.
| Foam::scalar sumThickness | ( | const label | layer | ) | const |
Helper: calculate cumulative relative thickness for layer.
(layer=0 -> 0; layer=nLayers -> 1)
Definition at line 74 of file extrudeModel.C.
References Foam::mag(), and Foam::pow().
Referenced by linearNormal::linearNormal().


|
pure virtual |
Implemented in sphericalRadial, sigmaRadial, sector, path, linearRadial, linearNormal, linearDirection, and cylindricalRadial.
|
protected |
Definition at line 57 of file extrudeModel.H.
Referenced by linearNormal::linearNormal(), plane::plane(), and wedge::wedge().
|
protected |
Definition at line 59 of file extrudeModel.H.