mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: intel compiler issues with operator ""_deg (fixes #544)
- this represents a partial revert for commit 6a0a8b99b3
This commit is contained in:
@ -122,7 +122,7 @@ int main(int argc, char *argv[])
|
||||
fileName pointsFile(runTime.constantPath()/"points.tmp");
|
||||
OFstream pFile(pointsFile);
|
||||
|
||||
const scalar a = 0.1_deg;
|
||||
const scalar a = degToRad(0.1);
|
||||
tensor rotateZ =
|
||||
tensor
|
||||
(
|
||||
|
||||
@ -419,7 +419,7 @@ if (pFaces[WEDGE].size() && pFaces[WEDGE][0].size())
|
||||
{
|
||||
// Distribute the points to be +/- 2.5deg from the x-z plane
|
||||
|
||||
const scalar tanTheta = Foam::tan(2.5_deg);
|
||||
const scalar tanTheta = Foam::tan(degToRad(2.5));
|
||||
|
||||
SLList<face>::iterator iterf = pFaces[WEDGE][0].begin();
|
||||
SLList<face>::iterator iterb = pFaces[WEDGE][1].begin();
|
||||
|
||||
@ -33,10 +33,10 @@ License
|
||||
using namespace Foam::vectorTools;
|
||||
|
||||
const Foam::scalar Foam::conformalVoronoiMesh::searchConeAngle
|
||||
= Foam::cos(30.0_deg);
|
||||
= Foam::cos(degToRad(30.0));
|
||||
|
||||
const Foam::scalar Foam::conformalVoronoiMesh::searchAngleOppositeSurface
|
||||
= Foam::cos(150.0_deg);
|
||||
= Foam::cos(degToRad(150.0));
|
||||
|
||||
|
||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
||||
|
||||
Reference in New Issue
Block a user