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:
@ -33,10 +33,10 @@ License
|
||||
using namespace Foam::vectorTools;
|
||||
|
||||
const Foam::scalar Foam::conformalVoronoiMesh::searchConeAngle
|
||||
= Foam::cos(degToRad(30));
|
||||
= Foam::cos(30.0_deg);
|
||||
|
||||
const Foam::scalar Foam::conformalVoronoiMesh::searchAngleOppositeSurface
|
||||
= Foam::cos(degToRad(150));
|
||||
= Foam::cos(150.0_deg);
|
||||
|
||||
|
||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
||||
|
||||
Reference in New Issue
Block a user