Commit 622196ec authored by Franjo's avatar Franjo
Browse files

Corrected the order of operations

parent 0aca7478
...@@ -282,15 +282,15 @@ renameBoundaryPatches::renameBoundaryPatches ...@@ -282,15 +282,15 @@ renameBoundaryPatches::renameBoundaryPatches
mesh_(mesh), mesh_(mesh),
meshDict_(meshDict) meshDict_(meshDict)
{ {
if( meshDict.found("renameBoundary") )
calculateNewBoundary();
if( !allowEmptyPatches ) if( !allowEmptyPatches )
{ {
checkEmptyPatches(); checkEmptyPatches();
} }
checkSymmetryPlanes(); checkSymmetryPlanes();
if( meshDict.found("renameBoundary") )
calculateNewBoundary();
} }
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment