Revert "fixed bug"

This reverts commit 6e14970dfa.
This commit is contained in:
James E McClure 2018-09-16 02:27:42 -04:00
parent 6e14970dfa
commit d762383d55

View File

@ -568,7 +568,7 @@ void TwoPhase::ComputeLocal()
// non-wetting phase // non-wetting phase
phase_label(i,j,k) = 0; phase_label(i,j,k) = 0;
} }
phase_distance(i,j,k) =2.0*double(phase_label(i,j,k))-1.0; phase_distance(Nx,Ny,Nz) =2.0*double(phase_label(i,j,k))-1.0;
} }
} }
} }
@ -592,7 +592,7 @@ void TwoPhase::ComputeLocal()
// non-wetting phase // non-wetting phase
phase_label(i,j,k) = 1; phase_label(i,j,k) = 1;
} }
phase_distance(i,j,k) =2.0*double(phase_label(i,j,k))-1.0; phase_distance(Nx,Ny,Nz) =2.0*double(phase_label(i,j,k))-1.0;
} }
} }
} }