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_;
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(cyclicSector, 0)
Macros for easy insertion into run-time selection tables.
Top level extrusion model class.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
Extrudes by transforming points in a specified direction by the given distance.
linearDirection(const dictionary &dict)
Construct from dictionary.