Skip to content
Snippets Groups Projects
Commit de32813f authored by andy's avatar andy
Browse files

STYLE: Minor code style updates

parent ca492058
Branches
Tags
No related merge requests found
......@@ -232,20 +232,20 @@ void Foam::parcel::setRelaxationTimes
tBoilingSurface
);
scalar dp = pBoil - pressure;
if ( (dp > 0.0) && (dp0 > 0.0) )
if ((dp > 0.0) && (dp0 > 0.0))
{
tBoilingSurface -= deltaT;
}
else
{
if ( (dp < 0.0) && (dp0 < 0.0) )
if ((dp < 0.0) && (dp0 < 0.0))
{
tBoilingSurface += deltaT;
}
else
{
deltaT *= 0.5;
if ( (dp > 0.0) && (dp0 < 0.0) )
if ((dp > 0.0) && (dp0 < 0.0))
{
tBoilingSurface -= deltaT;
}
......
......@@ -194,6 +194,7 @@ void Foam::LiquidEvaporation<CloudType>::calculate
}
}
template<class CloudType>
Foam::scalar Foam::LiquidEvaporation<CloudType>::dh
(
......
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