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:
@ -299,9 +299,9 @@ void Foam::AMIMethod<SourcePatch, TargetPatch>::appendNbrFaces
|
||||
const vector& n1 = patch.faceNormals()[facei];
|
||||
const vector& n2 = patch.faceNormals()[nbrFacei];
|
||||
|
||||
scalar cosI = n1 & n2;
|
||||
const scalar cosI = n1 & n2;
|
||||
|
||||
if (cosI > Foam::cos(89.0_deg))
|
||||
if (cosI > Foam::cos(degToRad(89.0)))
|
||||
{
|
||||
faceIDs.append(nbrFacei);
|
||||
}
|
||||
|
||||
@ -85,7 +85,8 @@ Foam::extendedEdgeMesh::sideVolumeTypeNames_
|
||||
};
|
||||
|
||||
|
||||
Foam::scalar Foam::extendedEdgeMesh::cosNormalAngleTol_ = Foam::cos(0.1_deg);
|
||||
Foam::scalar Foam::extendedEdgeMesh::cosNormalAngleTol_ =
|
||||
Foam::cos(degToRad(0.1));
|
||||
|
||||
|
||||
Foam::label Foam::extendedEdgeMesh::convexStart_ = 0;
|
||||
|
||||
@ -55,7 +55,7 @@ Foam::topoSetSource::addToUsageTable Foam::shapeToCell::usage_
|
||||
|
||||
|
||||
// Angle for polys to be considered splitHexes.
|
||||
Foam::scalar Foam::shapeToCell::featureCos = Foam::cos(10.0_deg);
|
||||
Foam::scalar Foam::shapeToCell::featureCos = Foam::cos(degToRad(10.0));
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
@ -43,7 +43,7 @@ namespace Foam
|
||||
defineTypeNameAndDebug(edgeIntersections, 0);
|
||||
}
|
||||
|
||||
Foam::scalar Foam::edgeIntersections::alignedCos_ = Foam::cos(89.0_deg);
|
||||
Foam::scalar Foam::edgeIntersections::alignedCos_ = Foam::cos(degToRad(89.0));
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
@ -41,7 +41,7 @@ namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(surfaceFeatures, 0);
|
||||
|
||||
const scalar surfaceFeatures::parallelTolerance = sin(1.0_deg);
|
||||
const scalar surfaceFeatures::parallelTolerance = sin(degToRad(1.0));
|
||||
|
||||
|
||||
//! \cond fileScope
|
||||
|
||||
Reference in New Issue
Block a user