Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
extrudeModel Class Referenceabstract

Top level extrusion model class. More...

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

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< extrudeModelNew (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 dictionarydict_
 
const dictionarycoeffDict_
 

Detailed Description

Top level extrusion model class.

Source files

Definition at line 51 of file extrudeModel.H.

Constructor & Destructor Documentation

extrudeModel ( const extrudeModel )
protected

Disallow default bitwise copy construct.

extrudeModel ( const word modelType,
const dictionary dict 
)

Construct from dictionary.

Definition at line 39 of file extrudeModel.C.

~extrudeModel ( )
virtual

Destructor.

Definition at line 53 of file extrudeModel.C.

Member Function Documentation

void operator= ( const extrudeModel )
protected

Disallow default bitwise assignment.

TypeName ( "extrudeModel"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
extrudeModel  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

Declare runtime constructor selection table.

Foam::autoPtr< Foam::extrudeModel > New ( const dictionary dict)
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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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()().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Member Data Documentation

label nLayers_
protected
const scalar expansionRatio_
protected

Definition at line 59 of file extrudeModel.H.

const dictionary& dict_
protected

Definition at line 61 of file extrudeModel.H.

const dictionary& coeffDict_
protected

Definition at line 63 of file extrudeModel.H.

Referenced by linearNormal::linearNormal().


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