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 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... | |
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 | |
extrudeModel (const extrudeModel &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const extrudeModel &) |
Disallow default bitwise assignment. More... | |
Protected Attributes | |
label | nLayers_ |
const scalar | expansionRatio_ |
const dictionary & | dict_ |
const dictionary & | coeffDict_ |
|
protected |
Disallow default bitwise copy construct.
extrudeModel | ( | const word & | modelType, |
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 39 of file extrudeModel.C.
|
virtual |
Destructor.
Definition at line 53 of file extrudeModel.C.
|
protected |
Disallow default bitwise assignment.
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 31 of file extrudeModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), and Foam::nl.
Referenced by extrudePatchMesh::extrudePatchMesh().
Foam::label nLayers | ( | ) | const |
Definition at line 59 of file extrudeModel.C.
Foam::scalar expansionRatio | ( | ) | const |
Definition at line 65 of file extrudeModel.C.
Referenced by sigmaRadial::sigmaRadial().
Foam::scalar sumThickness | ( | const label | layer | ) | const |
Helper: calculate cumulative relative thickness for layer.
(layer=0 -> 0; layer=nLayers -> 1)
Definition at line 71 of file extrudeModel.C.
References Foam::mag(), and Foam::pow().
Referenced by linearNormal::linearNormal(), linearRadial::operator()(), linearDirection::operator()(), and sector::operator()().
|
pure virtual |
Implemented in sector, linearNormal, linearDirection, sigmaRadial, linearRadial, and radial.
|
protected |
Definition at line 57 of file extrudeModel.H.
Referenced by linearNormal::linearNormal(), sigmaRadial::operator()(), sector::operator()(), plane::plane(), and wedge::wedge().
|
protected |
Definition at line 59 of file extrudeModel.H.
|
protected |
Definition at line 61 of file extrudeModel.H.
|
protected |
Definition at line 63 of file extrudeModel.H.
Referenced by linearNormal::linearNormal().