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

@ -43,8 +43,7 @@ License
defineTypeNameAndDebug(Foam::edgeIntersections, 0);
Foam::scalar Foam::edgeIntersections::alignedCos_ =
Foam::cos(89.0*Foam::constant::mathematical::pi/180.0);
Foam::scalar Foam::edgeIntersections::alignedCos_ = Foam::cos(degToRad(89.0));
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //