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")
 
 declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
 
 extrudeModel (const word &modelType, const dictionary &dict)
 
virtual ~extrudeModel ()=default
 
label nLayers () const
 
scalar expansionRatio () const
 
scalar sumThickness (const label layer) const
 
virtual point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const =0
 

Static Public Member Functions

static autoPtr< extrudeModelNew (const dictionary &dict)
 

Protected Member Functions

 extrudeModel (const extrudeModel &)=delete
 
void operator= (const extrudeModel &)=delete
 

Protected Attributes

label nLayers_
 
const scalar expansionRatio_
 
const dictionarycoeffDict_
 

Detailed Description

Top level extrusion model class.

Dictionary entries

Property Description Required Default
nLayer Number of extrusion layers no 1
expansionRatio Expansion ratio no 1
Source files

Definition at line 72 of file extrudeModel.H.

Constructor & Destructor Documentation

◆ extrudeModel() [1/2]

extrudeModel ( const extrudeModel )
protecteddelete

◆ extrudeModel() [2/2]

extrudeModel ( const word modelType,
const dictionary dict 
)

Definition at line 35 of file extrudeModel.C.

References DebugInfo, and Foam::nl.

◆ ~extrudeModel()

virtual ~extrudeModel ( )
virtualdefault

Member Function Documentation

◆ operator=()

void operator= ( const extrudeModel )
protecteddelete

◆ TypeName()

TypeName ( "extrudeModel"  )

◆ declareRunTimeSelectionTable()

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

◆ New()

Foam::autoPtr< Foam::extrudeModel > New ( const dictionary dict)
static

Definition at line 27 of file extrudeModelNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ nLayers()

Foam::label nLayers ( ) const

Definition at line 52 of file extrudeModel.C.

References extrudeModel::nLayers_.

◆ expansionRatio()

Foam::scalar expansionRatio ( ) const

Definition at line 58 of file extrudeModel.C.

Referenced by sigmaRadial::sigmaRadial().

Here is the caller graph for this function:

◆ sumThickness()

Foam::scalar sumThickness ( const label  layer) const

Definition at line 64 of file extrudeModel.C.

References Foam::mag(), and Foam::pow().

Referenced by linearNormal::linearNormal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator()()

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

Member Data Documentation

◆ nLayers_

label nLayers_
protected

◆ expansionRatio_

const scalar expansionRatio_
protected

Definition at line 80 of file extrudeModel.H.

◆ coeffDict_

const dictionary& coeffDict_
protected

Definition at line 82 of file extrudeModel.H.

Referenced by offsetSurface::offsetSurface().


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