Commit 1de2f305 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

COMP: fixes for label=64, scalar=32

parent 32fe9406
...@@ -426,7 +426,7 @@ void Foam::colourTools::interpolateDiverging ...@@ -426,7 +426,7 @@ void Foam::colourTools::interpolateDiverging
// adjusting the scalar value. // adjusting the scalar value.
scalar Mmid = std::max(msh1[0], msh2[0]); scalar Mmid = std::max(msh1[0], msh2[0]);
Mmid = std::max(88.0, Mmid); Mmid = std::max(scalar(88.0), Mmid);
if (s < 0.5) if (s < 0.5)
{ {
msh2[0] = Mmid; msh2[1] = 0; msh2[2] = 0; msh2[0] = Mmid; msh2[1] = 0; msh2[2] = 0;
......
...@@ -289,7 +289,7 @@ void Foam::PDRblock::readGridControl ...@@ -289,7 +289,7 @@ void Foam::PDRblock::readGridControl
const scalar dist = (subPoint.last() - subPoint.first()); const scalar dist = (subPoint.last() - subPoint.first());
if (equal(expRatio, 1.0)) if (equal(expRatio, 1))
{ {
for (label i=1; i < nDiv; ++i) for (label i=1; i < nDiv; ++i)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment