Commit fd952687 authored by mattijs's avatar mattijs
Browse files

ENH: Removed extraneous if

parent fd7e9c9a
scalar CoNum = -GREAT;
if (fluidRegions.size())
forAll(fluidRegions, regionI)
{
forAll(fluidRegions, regionI)
{
CoNum = max
CoNum = max
(
compressibleCourantNo
(
compressibleCourantNo
(
fluidRegions[regionI],
runTime,
rhoFluid[regionI],
phiFluid[regionI]
),
CoNum
);
}
fluidRegions[regionI],
runTime,
rhoFluid[regionI],
phiFluid[regionI]
),
CoNum
);
}
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