Added distance mapping to tests/TestBubble.cpp
This commit is contained in:
@@ -1772,7 +1772,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
double temp=0.5/beta;
|
double temp=0.5/beta;
|
||||||
for (n=0; n<N; n++){
|
for (n=0; n<N; n++){
|
||||||
value = Phase.data[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))-1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user