mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use ""_deg user-literal for degrees to radians conversion
ENH: add degToRad() multiplier (useful for scalar fields) - use degToRad() functions throughout instead of scattered local solutions
This commit is contained in:
@ -41,10 +41,10 @@ License
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(edgeIntersections, 0);
|
||||
|
||||
scalar edgeIntersections::alignedCos_ = cos(degToRad(89.0));
|
||||
}
|
||||
|
||||
Foam::scalar Foam::edgeIntersections::alignedCos_ = Foam::cos(89.0_deg);
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user