From 712807e1268563004757f527ae46c4f0864f91b6 Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Sun, 17 Feb 2019 10:01:18 +0100 Subject: [PATCH] Removed temporary debug stuff from polyhedralRefinement --- .../polyhedralRefinement.C | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/refinement/polyhedralRefinement/polyhedralRefinement.C b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/refinement/polyhedralRefinement/polyhedralRefinement.C index f3f40414c..7013717a5 100644 --- a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/refinement/polyhedralRefinement/polyhedralRefinement.C +++ b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/refinement/polyhedralRefinement/polyhedralRefinement.C @@ -2113,37 +2113,6 @@ void Foam::polyhedralRefinement::setCellsToRefine // Transfer the contents into the data member (ordinary list) cellsToRefine_.transfer(cellsToRefineDynamic); - // Temporary debug stuff: Take a look whether we have selected any face - // order error cells - const cellSet& errorCellsOwn = - mesh_.time().lookupObject("errorCellsOwnBeforeAMR"); - const cellSet& errorCellsNei = - mesh_.time().lookupObject("errorCellsNeiBeforeAMR"); - - // Loop through all cellsToRefine_ and check whether we have marked error - // cells for refinement - forAll (cellsToRefine_, i) - { - // Get cell indexd - const label cellI = cellsToRefine_[i]; - - if (errorCellsOwn.found(cellI)) - { - Pout<< "WARNING! " << nl - << "Cell: " << cellI << " marked for refinement, and it has" - << " ordering error in OWNER list!" - << endl; - } - - if (errorCellsNei.found(cellI)) - { - Pout<< "WARNING! " << nl - << "Cell: " << cellI << " marked for refinement, and it has" - << " ordering error in NEIGHBOUR list!" - << endl; - } - } - Info<< "Selected " << returnReduce(cellsToRefine_.size(), sumOp