From 368c52c1e8f0ec7f16505e7cfe46f9cdbb3c34b2 Mon Sep 17 00:00:00 2001 From: Thomas Witkowski <thomas.witkowski@gmx.de> Date: Wed, 16 Mar 2011 09:41:25 +0000 Subject: [PATCH] Removed some output lines. --- AMDiS/src/parallel/MeshDistributor.cc | 53 --------------------------- 1 file changed, 53 deletions(-) diff --git a/AMDiS/src/parallel/MeshDistributor.cc b/AMDiS/src/parallel/MeshDistributor.cc index bc942d23..20373cd0 100644 --- a/AMDiS/src/parallel/MeshDistributor.cc +++ b/AMDiS/src/parallel/MeshDistributor.cc @@ -802,38 +802,6 @@ namespace AMDiS { MSG("Imbalancing factor: %.1f\%\n", imbalance); } - - - { - TraverseStack stack; - ElInfo *elInfo = stack.traverseFirst(mesh, 0, Mesh::CALL_EL_LEVEL | Mesh::FILL_COORDS); - while (elInfo) { - if (elInfo->getElement()->getIndex() == 195) { - MSG("FOUND MACRO 195: %d %f %f %f\n", - elInfo->getElement()->getDof(2, 0), - elInfo->getCoord(2)[0], - elInfo->getCoord(2)[1], - elInfo->getCoord(2)[2]); - } - elInfo = stack.traverseNext(elInfo); - } - } - - - { - if (mpiRank == 0) { - WorldVector<double> c; - mesh->getDofIndexCoords(9, feSpace, c); - MSG("9-COORDS %f %f %f\n", c[0], c[1], c[2]); - } - - if (mpiRank == 2) { - WorldVector<double> c; - mesh->getDofIndexCoords(9, feSpace, c); - MSG("9-COORDS %f %f %f\n", c[0], c[1], c[2]); - } - - } } @@ -1846,8 +1814,6 @@ namespace AMDiS { for (RankToBoundMap::iterator it = periodicBoundary.boundary.begin(); it != periodicBoundary.boundary.end(); ++it) { - MSG("PER BOUND WITH RANK %d!\n", it->first); - if (it->first == mpiRank) { TEST_EXIT_DBG(it->second.size() % 2 == 0)("Should not happen!\n"); @@ -1874,8 +1840,6 @@ namespace AMDiS { DegreeOfFreedom globalDof1 = mapLocalGlobalDofs[*(dofs1[j])]; if (periodicDofAssociations[globalDof0].count(type) == 0) { - MSG("SET A: %d %d <-> %d\n", type, globalDof0, globalDof1); - periodicDof[type][globalDof0] = globalDof1; periodicDofAssociations[globalDof0].insert(type); } @@ -1888,20 +1852,10 @@ namespace AMDiS { for (vector<AtomicBoundary>::iterator boundIt = it->second.begin(); boundIt != it->second.end(); ++boundIt) { - MSG("BOUND %d %d %d - %d %d %d\n", - boundIt->rankObj.elIndex, boundIt->rankObj.subObj, boundIt->rankObj.ithObj, - boundIt->neighObj.elIndex, boundIt->neighObj.subObj, boundIt->neighObj.ithObj); - - - int nDofs = dofs.size(); boundIt->rankObj.el->getVertexDofs(feSpace, boundIt->rankObj, dofs); boundIt->rankObj.el->getNonVertexDofs(feSpace, boundIt->rankObj, dofs); - for (int i = nDofs; i < dofs.size(); i++) { - MSG(" dof %d\n", *(dofs[i])); - } - for (unsigned int i = 0; i < (dofs.size() - nDofs); i++) rankToDofType[it->first].push_back(boundIt->type); } @@ -1919,7 +1873,6 @@ namespace AMDiS { stdMpi.updateSendDataSize(); stdMpi.startCommunication(); - MSG("---------"); // === The rank has received the dofs from the rank on the other side of === // === the boundary. Now it can use them to create the mapping between === @@ -1929,7 +1882,6 @@ namespace AMDiS { for (RankToBoundMap::iterator it = periodicBoundary.boundary.begin(); it != periodicBoundary.boundary.end(); ++it) { - MSG("PER BOUND WITH RANK %d!\n", it->first); DofContainer& dofs = rankPeriodicDofs[it->first]; vector<int>& types = rankToDofType[it->first]; @@ -1944,8 +1896,6 @@ namespace AMDiS { // Check if this global dof with the corresponding boundary type was // not added before by another periodic boundary from other rank. if (periodicDofAssociations[globalDofIndex].count(type) == 0) { - MSG("SET B at POS %d: %d %d/%d <-> %d\n", i, type, *(dofs[i]), globalDofIndex, mapGlobalDofIndex); - periodicDof[type][globalDofIndex] = mapGlobalDofIndex; periodicDofAssociations[globalDofIndex].insert(type); } @@ -2005,9 +1955,6 @@ namespace AMDiS { periodicDof[perIt->first][dofIt->second] == dofIt->first) ("Should not happen!\n"); - MSG("SET C: %d %d <-> %d\n", - perIt->first, dofIt->second, dofIt->first); - periodicDof[perIt->first][dofIt->second] = dofIt->first; } } -- GitLab