fix restart bug
This commit is contained in:
parent
03dc1b4a05
commit
67d5b19a2d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user