Put distance back in analysis

This commit is contained in:
James E McClure 2015-11-14 14:28:38 -05:00
parent e31ac627e2
commit 019aaf03d9

View File

@ -180,7 +180,7 @@ void TwoPhase::ColorToSignedDistance(double Beta, DoubleArray &ColorData, Double
double factor,temp,value; double factor,temp,value;
factor=0.5/Beta; factor=0.5/Beta;
// Initialize to -1,1 (segmentation) // Initialize to -1,1 (segmentation)
/* for (int k=0; k<Nz; k++){ for (int k=0; k<Nz; k++){
for (int j=0; j<Ny; j++){ for (int j=0; j<Ny; j++){
for (int i=0; i<Nx; i++){ for (int i=0; i<Nx; i++){
value = ColorData(i,j,k); value = ColorData(i,j,k);
@ -214,7 +214,7 @@ void TwoPhase::ColorToSignedDistance(double Beta, DoubleArray &ColorData, Double
} }
} }
} }
*/ /*
for (int k=0; k<Nz; k++){ for (int k=0; k<Nz; k++){
for (int j=0; j<Ny; j++){ for (int j=0; j<Ny; j++){
for (int i=0; i<Nx; i++){ for (int i=0; i<Nx; i++){
@ -222,7 +222,7 @@ void TwoPhase::ColorToSignedDistance(double Beta, DoubleArray &ColorData, Double
} }
} }
} }
// */
// for (int n=0; n<Nx*Ny*Nz; n++) DistData[n] = ColorData[n]; // for (int n=0; n<Nx*Ny*Nz; n++) DistData[n] = ColorData[n];
} }