33 namespace extrudeModels
47 extrudeModel(typeName, dict),
48 thickness_(
readScalar(coeffDict_.lookup(
"thickness")))
53 <<
"thickness should be positive : " << thickness_
61 linearNormal::~linearNormal()
67 point linearNormal::operator()
69 const point& surfacePoint,
70 const vector& surfaceNormal,
74 scalar
d = thickness_*layer/nLayers_;
75 return surfacePoint + d*surfaceNormal;