137 virtual point operator()
139 const point& surfacePoint,
140 const vector& surfaceNormal,
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Top level extrusion model class.
virtual ~extrudeModel()=default
Destructor.
static autoPtr< extrudeModel > New(const dictionary &dict)
Select null constructed.
const scalar expansionRatio_
declareRunTimeSelectionTable(autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
Declare runtime constructor selection table.
TypeName("extrudeModel")
Runtime type information.
extrudeModel(const extrudeModel &)=delete
No copy construct.
const dictionary & coeffDict_
label nLayers() const
Return the number of layers.
scalar expansionRatio() const
Return the expansion ratio.
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
void operator=(const extrudeModel &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.