Skip to content
Snippets Groups Projects
Commit f45832b5 authored by mattijs's avatar mattijs
Browse files

COMP: finiteVolume: single precision build

parent 27cd94e9
No related merge requests found
......@@ -169,7 +169,7 @@ void Foam::flowRateInletVelocityFvPatchVectorField::updateValues
Up -= nUp*n;
// Remove any reverse flow
nUp = min(nUp, 0.0);
nUp = min(nUp, scalar(0.0));
const scalar flowRate = flowRate_->value(t);
const scalar estimatedFlowRate = -gSum(rho*(this->patch().magSf()*nUp));
......
......@@ -160,7 +160,7 @@ void Foam::flowRateOutletVelocityFvPatchVectorField::updateValues
Up -= nUp*n;
// Remove any reverse flow
nUp = max(nUp, 0.0);
nUp = max(nUp, scalar(0.0));
const scalar flowRate = flowRate_->value(t);
const scalar estimatedFlowRate = gSum(rho*(this->patch().magSf()*nUp));
......
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