34 namespace extrudeModels
49 axisPt_(coeffDict(
dict).lookup(
"axisPt")),
50 axis_(coeffDict(
dict).lookup(
"axis")),
65 const point& surfacePoint,
66 const vector& surfaceNormal,
78 sliceAngle = -angle_/2.0;
82 sliceAngle = angle_/2.0;
87 sliceAngle = angle_*sumThickness(layer);
93 point d = surfacePoint - axisPt_;
95 d -= (axis_ & d)*axis_;
99 point edgePt = surfacePoint - d;
102 point rotatedPoint = edgePt;
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.
Extrudes by rotating a surface around an axis.
sector(const dictionary &dict)
Construct from dictionary.
virtual ~sector()
Destructor.
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.
dimensionedScalar sin(const dimensionedScalar &ds)
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
dimensionedScalar cos(const dimensionedScalar &ds)
const unitConversion unitDegrees