This commit is contained in:
James McClure
2014-08-24 19:04:47 -04:00
parent e3c5c9f906
commit b203429a85
2 changed files with 4 additions and 4 deletions

View File

@@ -486,8 +486,8 @@ int main(int argc, char **argv)
FlipID(id,Nx*Ny*Nz);
}
#else
// If negative phi_s is chosen, flip the ID for the wetting and non-wetting phase
if (phi_s < 0.0 && !pBC){
// If positive phi_s is chosen, flip the ID for the wetting and non-wetting phase
if (phi_s > 0.0 && !pBC){
phi_s = -phi_s;
das = (phi_s+1.0)*0.5;
dbs = 1.0 - das;

View File

@@ -507,8 +507,8 @@ int main(int argc, char **argv)
FlipID(id,Nx*Ny*Nz);
}
#else
// If negative phi_s is chosen, flip the ID for the wetting and non-wetting phase
if (phi_s < 0.0 && !pBC){
// If positive phi_s is chosen, flip the ID for the wetting and non-wetting phase
if (phi_s > 0.0 && !pBC){
phi_s = -phi_s;
das = (phi_s+1.0)*0.5;
dbs = 1.0 - das;