Removed SSO for ColorToSignedDistance (debugging)
This commit is contained in:
parent
e0aa35b32a
commit
a17e7c1f9f
@ -179,7 +179,7 @@ void TwoPhase::ColorToSignedDistance(double Beta, DoubleArray &ColorData, Double
|
||||
{
|
||||
double factor,temp,value;
|
||||
factor=0.5/Beta;
|
||||
// Initialize to -1,1 (segmentation)
|
||||
/* // Initialize to -1,1 (segmentation)
|
||||
for (int k=0; k<Nz; k++){
|
||||
for (int j=0; j<Ny; j++){
|
||||
for (int i=0; i<Nx; i++){
|
||||
@ -212,14 +212,15 @@ 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 i=0; i<Nx; i++){
|
||||
DistData(i,j,k) = ColorData(i,j,k);
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// for (int n=0; n<Nx*Ny*Nz; n++) DistData[n] = ColorData[n];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user