mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: reduced nesting on return branching
This commit is contained in:
committed by
Andrew Heather
parent
4bc3b2b9cb
commit
60234ab007
@ -253,15 +253,14 @@ bool Foam::checkWedges
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
||||
if (report)
|
||||
{
|
||||
if (report)
|
||||
{
|
||||
Info<< " All edges aligned with or perpendicular to "
|
||||
<< "non-empty directions." << endl;
|
||||
}
|
||||
return false;
|
||||
Info<< " All edges aligned with or perpendicular to "
|
||||
<< "non-empty directions." << endl;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -468,16 +467,14 @@ bool Foam::checkCoupledPoints
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (report)
|
||||
{
|
||||
Info<< " Coupled point location match (average "
|
||||
<< avgMismatch << ") OK." << endl;
|
||||
}
|
||||
|
||||
return false;
|
||||
if (report)
|
||||
{
|
||||
Info<< " Coupled point location match (average "
|
||||
<< avgMismatch << ") OK." << endl;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user