33 namespace extrudeModels
60 point radial::operator()
62 const point& surfacePoint,
63 const vector& surfaceNormal,
68 scalar rs =
mag(surfacePoint);
69 vector rsHat = surfacePoint/rs;
71 scalar r = R_->
value(layer);
73 Pout<<
"** for layer " << layer <<
" r:" << r <<
endl;
Run-time selectable general function of one variable.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
radial(const dictionary &dict)
Construct from dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~radial()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(cyclicSector, 0)
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Top level extrusion model class.
virtual Type value(const scalar x) const =0
Return value as a function of scalar x.
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
prefixOSstream Pout(cout, "Pout")
dimensioned< scalar > mag(const dimensioned< Type > &)