35 #ifndef extrudeModel_H
36 #define extrudeModel_H
126 virtual point operator()
128 const point& surfacePoint,
129 const vector& surfaceNormal,
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Top level extrusion model class.
const scalar expansionRatio_
static autoPtr< extrudeModel > New(const dictionary &)
Select null constructed.
declareRunTimeSelectionTable(autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
Declare runtime constructor selection table.
TypeName("extrudeModel")
Runtime type information.
label nLayers() const
Return the number of layers in the extrusion.
virtual ~extrudeModel()
Destructor.
scalar expansionRatio() const
Return the extrusion expansion ratio.
extrudeModel(const dictionary &)
Construct from dictionary.
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
void operator=(const extrudeModel &)=delete
Disallow default bitwise assignment.
const dictionary & coeffDict(const dictionary &dict) const
Backward compatibility function.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Macros to ease declaration of run-time selection tables.