Go to the documentation of this file.
33 namespace extrudeModels
48 direction_(coeffDict_.
lookup(
"direction")),
56 <<
"thickness should be positive : " <<
thickness_
70 point linearDirection::operator()
72 const point& surfacePoint,
73 const vector& surfaceNormal,
78 scalar d = thickness_*sumThickness(layer);
79 return surfacePoint + d*direction_;
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
vector direction_
Extrude direction.
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~linearDirection()
Destructor.
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.
scalar thickness_
Layer thickness.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
linearDirection(const dictionary &dict)
Construct from dictionary.
stressControl lookup("compactNormalStress") >> compactNormalStress