mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use degToRad() instead of pi/180
This commit is contained in:
committed by
Andrew Heather
parent
5f40a738d3
commit
e1609d16d1
@ -199,13 +199,13 @@ int main(int argc, char *argv[])
|
||||
<< Ra
|
||||
(
|
||||
axisAngle.first() / mag(axisAngle.first()),
|
||||
axisAngle.second() * constant::mathematical::pi/180.0
|
||||
degToRad(axisAngle.second())
|
||||
) << nl;
|
||||
Info<< "-ve Ra = "
|
||||
<< Ra
|
||||
(
|
||||
axisAngle.first() / mag(axisAngle.first()),
|
||||
-axisAngle.second() * constant::mathematical::pi/180.0
|
||||
degToRad(-axisAngle.second())
|
||||
) << nl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user