mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: fixes for label=64, scalar=32
This commit is contained in:
committed by
Andrew Heather
parent
32fe94063e
commit
1de2f30545
@ -426,7 +426,7 @@ void Foam::colourTools::interpolateDiverging
|
||||
// adjusting the scalar value.
|
||||
|
||||
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)
|
||||
{
|
||||
msh2[0] = Mmid; msh2[1] = 0; msh2[2] = 0;
|
||||
|
||||
@ -289,7 +289,7 @@ void Foam::PDRblock::readGridControl
|
||||
|
||||
const scalar dist = (subPoint.last() - subPoint.first());
|
||||
|
||||
if (equal(expRatio, 1.0))
|
||||
if (equal(expRatio, 1))
|
||||
{
|
||||
for (label i=1; i < nDiv; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user