Go to the documentation of this file.
34 namespace extrudeModels
49 axisPt_(coeffDict_.
lookup(
"axisPt")),
50 axis_(coeffDict_.
lookup(
"axis")),
66 point sector::operator()
68 const point& surfacePoint,
69 const vector& surfaceNormal,
81 sliceAngle = -angle_/2.0;
85 sliceAngle = angle_/2.0;
90 sliceAngle = angle_*sumThickness(layer);
96 point d = surfacePoint - axisPt_;
98 d -= (axis_ & d)*axis_;
100 scalar dMag =
mag(d);
102 point edgePt = surfacePoint - d;
105 point rotatedPoint = edgePt;
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
dimensionedScalar sin(const dimensionedScalar &ds)
Unit conversion functions.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual ~sector()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
sector(const dictionary &dict)
Construct from dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
Macros for easy insertion into run-time selection tables.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
stressControl lookup("compactNormalStress") >> compactNormalStress
scalar degToRad(const scalar deg)
Conversion from degrees to radians.
dimensionedScalar cos(const dimensionedScalar &ds)