SP build: use scalar(1) rather than 1.0

This commit is contained in:
Henry
2011-11-29 22:16:11 +00:00
parent 50fef5da8b
commit 4b31cf0407
4 changed files with 17 additions and 18 deletions

View File

@ -86,7 +86,7 @@ surfaceScalarField alphaPhi2("alphaPhi2", phi2);
alpha1Eqn.solve();
//***HGW temporary boundedness-fix pending the introduction of MULES
alpha1 = max(min(alpha1, 1.0), 0.0);
alpha1 = max(min(alpha1, scalar(1)), scalar(0));
#include "packingLimiter.H"