50 Rsurface_(
coeffDict_.getOrDefault<scalar>(
"Rsurface", -1))
56point linearRadial::operator()
58 const point& surfacePoint,
59 const vector& surfaceNormal,
64 scalar rs =
mag(surfacePoint);
65 vector rsHat = surfacePoint/rs;
67 if (Rsurface_ >= 0) rs = Rsurface_;
69 scalar r = rs + (R_ - rs)*sumThickness(layer);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Top level extrusion model class.
extrudeModel(const extrudeModel &)=delete
No copy construct.
const dictionary & coeffDict_
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
Extrudes by transforming radially from the surface.
linearRadial(const dictionary &dict)
Construct from dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
vector point
Point is a vector.