STYLE: patchEdgeFaceRegion: extraneous debug printing

This commit is contained in:
mattijs
2012-09-20 12:52:43 +01:00
parent 001a2ae3dd
commit d50f2d034c

View File

@ -45,9 +45,6 @@ inline bool Foam::patchEdgeFaceRegion::update
if (w2.region_ == -2 || region_ == -2) if (w2.region_ == -2 || region_ == -2)
{ {
Pout<< "update : " << *this << " w2:" << w2 << " return FALSE" << endl;
// Blocked edge/face // Blocked edge/face
return false; return false;
} }
@ -55,27 +52,18 @@ Pout<< "update : " << *this << " w2:" << w2 << " return FALSE" << endl;
if (!valid(td)) if (!valid(td))
{ {
// current not yet set so use any value // current not yet set so use any value
label oldRegion = region_;
operator=(w2); operator=(w2);
Pout<< "update : " << *this << " was:" << oldRegion
<< " w2:" << w2 << " return TRUE" << endl;
return true; return true;
} }
else else
{ {
if (w2.region_ < region_) if (w2.region_ < region_)
{ {
label oldRegion = region_;
operator=(w2); operator=(w2);
Pout<< "update : " << *this << " was:" << oldRegion
<< " w2:" << w2 << " return TRUE" << endl;
return true;
return true; return true;
} }
else else
{ {
Pout<< "update : " << *this
<< " w2:" << w2 << " return FALSE" << endl;
return false; return false;
} }
} }