33 namespace extrudeModels
64 point cylindricalRadial::operator()
66 const point& surfacePoint,
67 const vector& surfaceNormal,
72 const vector axisOffset = axis_*(axis_ & (surfacePoint - axisPt_));
75 const vector rs = (surfacePoint - axisPt_) - axisOffset;
81 const scalar r = R_->value(layer);
84 return axisPt_ + axisOffset + r*rsHat;
Macros for easy insertion into run-time selection tables.
Run-time selectable general function of one variable.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Top level extrusion model class.
Extrudes by transforming points in the cylindrical radial direction.
virtual ~cylindricalRadial()
Destructor.
cylindricalRadial(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.
const dimensionSet dimless
const dimensionSet dimLength
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)