fix how the W phase saturation is calculated in morphological drainage
This commit is contained in:
1 parent
ce72949e4a
commit
6ed5f5aea6
1 file changed
+1
-1
@@ -409,7 +409,7 @@ int main(int argc, char **argv)
|
||||
for (int j=1; j<Ny-1; j++){
|
||||
for (int i=1; i<Nx-1; i++){
|
||||
n=k*Nx*Ny+j*Nx+i;
|
||||
if (id[n] == 1){
|
||||
if (id[n] == 2){
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user