Try to prevent identification fo isolated blobs near the solid

This commit is contained in:
James E McClure
2015-09-17 15:36:48 -04:00
parent de8467c9ef
commit 3ed9afd03e
2 changed files with 2 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ int ComputeLocalBlobIDs( const DoubleArray& Phase, const DoubleArray& SignDist,
Array<bool> isPhase(Nx,Ny,Nz);
memset(isPhase.get(),0,Nx*Ny*Nz*sizeof(bool));
for (size_t i=0; i<N; i++) {
if ( SignDist(i) < 0.0) {
if ( SignDist(i) <= vS) {
// Solid phase
LocalBlobID(i) = -2;
} else {