Go to the documentation of this file.
35 namespace extrudeModels
50 direction_(coeffDict_.get<
vector>(
"direction").normalise()),
51 thickness_(coeffDict_.get<scalar>(
"thickness"))
56 <<
"thickness should be positive : " << thickness_
64 point linearDirection::operator()
66 const point& surfacePoint,
67 const vector& surfaceNormal,
71 return surfacePoint + (thickness_*sumThickness(layer)) * direction_;
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
linearDirection(const dictionary &dict)
Construct from dictionary.