Adding capability to initialize from segmented ID file

This commit is contained in:
James E McClure
2015-06-17 18:42:03 -04:00
parent fd0b9deed8
commit f70fd38478

View File

@@ -429,7 +429,7 @@ int main(int argc, char **argv)
//.........................................................
// If positive phi_s is chosen, flip the ID for the wetting and non-wetting phase
if (phi_s > 0.0 && !pBC){
if (phi_s > 0.0 && BoundaryCondition==0){
phi_s = -phi_s;
das = (phi_s+1.0)*0.5;
dbs = 1.0 - das;