Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

STYLE: patchEdgeFaceRegion: extraneous debug printing

  • Loading branch information...
commit 12fd7d791cd61855683579d4fa68e8caf169faf2 1 parent fd53207
mattijs authored
View
14 src/meshTools/sets/faceSources/regionToFace/patchEdgeFaceRegionI.H
@@ -45,9 +45,6 @@ inline bool Foam::patchEdgeFaceRegion::update
if (w2.region_ == -2 || region_ == -2)
{
-
-Pout<< "update : " << *this << " w2:" << w2 << " return FALSE" << endl;
-
// Blocked edge/face
return false;
}
@@ -55,27 +52,18 @@ Pout<< "update : " << *this << " w2:" << w2 << " return FALSE" << endl;
if (!valid(td))
{
// current not yet set so use any value
- label oldRegion = region_;
operator=(w2);
-Pout<< "update : " << *this << " was:" << oldRegion
- << " w2:" << w2 << " return TRUE" << endl;
return true;
}
else
{
if (w2.region_ < region_)
{
- label oldRegion = region_;
operator=(w2);
-Pout<< "update : " << *this << " was:" << oldRegion
- << " w2:" << w2 << " return TRUE" << endl;
- return true;
- return true;
+ return true;
}
else
{
-Pout<< "update : " << *this
- << " w2:" << w2 << " return FALSE" << endl;
return false;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.