31 namespace extrudeModels
46 R_(coeffDict(
dict).lookup<scalar>(
"R")),
47 Rsurface_(coeffDict(
dict).lookupOrDefault<scalar>(
"Rsurface", -1))
61 const point& surfacePoint,
62 const vector& surfaceNormal,
67 scalar rs =
mag(surfacePoint);
68 vector rsHat = surfacePoint/rs;
69 if (Rsurface_ >= 0) rs = Rsurface_;
71 scalar r = rs + (R_ - rs)*sumThickness(layer);
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Top level extrusion model class.
virtual ~linearRadial()
Destructor.
linearRadial(const dictionary &dict)
Construct from dictionary.
defineTypeNameAndDebug(cyclicSector, 0)
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)