fix restart bug

This commit is contained in:
James E McClure 2018-09-28 14:26:36 -04:00
parent 03dc1b4a05
commit 67d5b19a2d

View File

@ -354,7 +354,7 @@ void ScaLBL_ColorModel::Initialize(){
if (!(idx < 0) && idx<N)
cPhi[idx] = value;
}
for (int n=ScaLBL_Comm->FirstInterior(); ScaLBL_Comm->LastInterior(); n++){
for (int n=ScaLBL_Comm->FirstInterior(); n<ScaLBL_Comm->LastInterior(); n++){
va = cDen[n];
vb = cDen[Np + n];
value = (va-vb)/(va+vb);