src/OpenFOAM: Rationalised use of enumerations by using the C++11 scoped form

for triangle intersection.
This commit is contained in:
Henry Weller
2018-08-27 20:48:18 +01:00
parent 98ec0df866
commit 4f533d3c36
16 changed files with 74 additions and 62 deletions

View File

@ -910,14 +910,14 @@ void Foam::starMesh::createCoupleMatches()
pointStart,
masterProjDir,
points_,
intersection::FULL_RAY
intersection::algorithm::fullRay
).hit()
&& newMasterFace.ray
(
pointEnd,
masterProjDir,
points_,
intersection::FULL_RAY
intersection::algorithm::fullRay
).hit()
)
{
@ -953,14 +953,14 @@ void Foam::starMesh::createCoupleMatches()
pointStart,
slaveProjDir,
points_,
intersection::FULL_RAY
intersection::algorithm::fullRay
).hit()
&& newSlaveFace.ray
(
pointEnd,
slaveProjDir,
points_,
intersection::FULL_RAY
intersection::algorithm::fullRay
).hit()
)
{
@ -1324,7 +1324,7 @@ void Foam::starMesh::createCoupleMatches()
points_[intersectedFace[intPointi]],
pointProjectionNormal,
points_,
intersection::FULL_RAY
intersection::algorithm::fullRay
);
if (projHit.hit())

View File

@ -111,7 +111,7 @@
mergePatchPairs[pairI].second(),
slidingInterface::INTEGRAL, // always integral
false,
intersection::VISIBLE
intersection::algorithm::visible
)
);
}