Commit 82e8fe79 authored by Mark Olesen's avatar Mark Olesen

COMP: label-size 64, single-precision

parent ec58d035
......@@ -61,8 +61,8 @@ Foam::depositionModels::Stoppingprofile::Stoppingprofile
gs_(Us.db().lookupObject<areaVectorField>("gs")),
gn_(Us.db().lookupObject<areaScalarField>("gn"))
{
Info << " " << ud_ << nl
<< " " << ad_ << nl << endl;
Info<< " " << ud_ << nl
<< " " << ad_ << nl << endl;
}
......@@ -73,7 +73,14 @@ Foam::depositionModels::Stoppingprofile::Sd() const
{
const dimensionedScalar smallVel("small", dimVelocity, SMALL);
areaScalarField a(pow(max(min(1. - mag(Us_)/ud_, 1.), 0.), ad_));
areaScalarField a
(
pow
(
max(min(scalar(1) - mag(Us_)/ud_, scalar(1)), scalar(0)),
ad_
)
);
areaScalarField hUddt
(
......@@ -90,7 +97,7 @@ Foam::depositionModels::Stoppingprofile::Sd() const
{
if (mag(Us_.oldTime()[i]) < VSMALL)
{
Sd_[i] = 0;
Sd_[i] = Zero;
}
}
return Sd_;
......
Markdown is supported
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