find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()

- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
  It looks suspicious, but the change was recent, so maybe it means something
This commit is contained in:
Mark Olesen
2009-10-19 13:53:25 +02:00
parent 61a577c860
commit ffc9d0d97b
29 changed files with 71 additions and 94 deletions

View File

@ -51,8 +51,7 @@ wedge::wedge(const dictionary& dict)
axis_(coeffDict_.lookup("axis")),
angle_
(
readScalar(coeffDict_.lookup("angle"))
*constant::mathematical::pi/180.0
degToRad(readScalar(coeffDict_.lookup("angle")))
)
{}