Skip to content
Snippets Groups Projects
Commit ebe1bda4 authored by Andrew Heather's avatar Andrew Heather
Browse files

cosmetics

parent ef350447
Branches
Tags
No related merge requests found
......@@ -58,17 +58,21 @@ namespace mathematical
} // End namespace mathematical
} // End namespace constant
//- Conversion from degrees to radians
inline scalar degToRad(const scalar& deg)
{
return (deg * constant::mathematical::pi/180.0);
}
//- Conversion from radians to degrees
inline scalar radToDeg(const scalar& rad)
{
return (rad * 180.0/constant::mathematical::pi);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//- Conversion from degrees to radians
inline scalar degToRad(const scalar& deg)
{
return (deg*constant::mathematical::pi/180.0);
}
//- Conversion from radians to degrees
inline scalar radToDeg(const scalar& rad)
{
return (rad*180.0/constant::mathematical::pi);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment