mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: patchEdgeFaceRegion: extraneous debug printing
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user