Changed interface location for fluid signed distance function

This commit is contained in:
James E McClure 2015-01-07 11:34:34 -05:00
parent 3d604f8a00
commit 5123ced92e
2 changed files with 2 additions and 2 deletions

View File

@ -1773,7 +1773,7 @@ int main(int argc, char **argv)
double temp=0.5/beta;
for (n=0; n<N; n++){
double value = Phase.data[n];
SDn.data[n] = temp*log((1.0+value)/(1.0-value))-1.5;
SDn.data[n] = temp*log((1.0+value)/(1.0-value));
}
//...........................................................................

View File

@ -1931,7 +1931,7 @@ int main(int argc, char **argv)
double temp=0.5/beta;
for (n=0; n<N; n++){
double value = Phase.data[n];
SDn.data[n] = temp*log((1.0+value)/(1.0-value))+1.5;
SDn.data[n] = temp*log((1.0+value)/(1.0-value));
}
//...........................................................................