fixed bug

This commit is contained in:
James E McClure committed 2018-09-16 02:07:02 -04:00
1 parent c4e5fde6ac
commit 6e14970dfa
1 file changed
+2 -2
+2 -2
View File
@@ -568,7 +568,7 @@ void TwoPhase::ComputeLocal()
// non-wetting phase
phase_label(i,j,k) = 0;
}
phase_distance(Nx,Ny,Nz) =2.0*double(phase_label(i,j,k))-1.0;
phase_distance(i,j,k) =2.0*double(phase_label(i,j,k))-1.0;
}
}
}
@@ -592,7 +592,7 @@ void TwoPhase::ComputeLocal()
// non-wetting phase
phase_label(i,j,k) = 1;
}
phase_distance(Nx,Ny,Nz) =2.0*double(phase_label(i,j,k))-1.0;
phase_distance(i,j,k) =2.0*double(phase_label(i,j,k))-1.0;
}
}
}