Skip to content
Snippets Groups Projects
Commit 622196ec authored by Franjo's avatar Franjo
Browse files

Corrected the order of operations

parent 0aca7478
No related branches found
No related tags found
No related merge requests found
...@@ -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 * * * * * * * * * * * * * * * //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment