Commit 368c52c1 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Removed some output lines.

parent d710ef89
...@@ -802,38 +802,6 @@ namespace AMDiS { ...@@ -802,38 +802,6 @@ namespace AMDiS {
MSG("Imbalancing factor: %.1f\%\n", imbalance); 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 { ...@@ -1846,8 +1814,6 @@ namespace AMDiS {
for (RankToBoundMap::iterator it = periodicBoundary.boundary.begin(); for (RankToBoundMap::iterator it = periodicBoundary.boundary.begin();
it != periodicBoundary.boundary.end(); ++it) { it != periodicBoundary.boundary.end(); ++it) {
MSG("PER BOUND WITH RANK %d!\n", it->first);
if (it->first == mpiRank) { if (it->first == mpiRank) {
TEST_EXIT_DBG(it->second.size() % 2 == 0)("Should not happen!\n"); TEST_EXIT_DBG(it->second.size() % 2 == 0)("Should not happen!\n");
...@@ -1874,8 +1840,6 @@ namespace AMDiS { ...@@ -1874,8 +1840,6 @@ namespace AMDiS {
DegreeOfFreedom globalDof1 = mapLocalGlobalDofs[*(dofs1[j])]; DegreeOfFreedom globalDof1 = mapLocalGlobalDofs[*(dofs1[j])];
if (periodicDofAssociations[globalDof0].count(type) == 0) { if (periodicDofAssociations[globalDof0].count(type) == 0) {
MSG("SET A: %d %d <-> %d\n", type, globalDof0, globalDof1);
periodicDof[type][globalDof0] = globalDof1; periodicDof[type][globalDof0] = globalDof1;
periodicDofAssociations[globalDof0].insert(type); periodicDofAssociations[globalDof0].insert(type);
} }
...@@ -1888,20 +1852,10 @@ namespace AMDiS { ...@@ -1888,20 +1852,10 @@ namespace AMDiS {
for (vector<AtomicBoundary>::iterator boundIt = it->second.begin(); for (vector<AtomicBoundary>::iterator boundIt = it->second.begin();
boundIt != it->second.end(); ++boundIt) { 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(); int nDofs = dofs.size();
boundIt->rankObj.el->getVertexDofs(feSpace, boundIt->rankObj, dofs); boundIt->rankObj.el->getVertexDofs(feSpace, boundIt->rankObj, dofs);
boundIt->rankObj.el->getNonVertexDofs(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++) for (unsigned int i = 0; i < (dofs.size() - nDofs); i++)
rankToDofType[it->first].push_back(boundIt->type); rankToDofType[it->first].push_back(boundIt->type);
} }
...@@ -1919,7 +1873,6 @@ namespace AMDiS { ...@@ -1919,7 +1873,6 @@ namespace AMDiS {
stdMpi.updateSendDataSize(); stdMpi.updateSendDataSize();
stdMpi.startCommunication(); stdMpi.startCommunication();
MSG("---------");
// === The rank has received the dofs from the rank on the other side of === // === 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 === // === the boundary. Now it can use them to create the mapping between ===
...@@ -1929,7 +1882,6 @@ namespace AMDiS { ...@@ -1929,7 +1882,6 @@ namespace AMDiS {
for (RankToBoundMap::iterator it = periodicBoundary.boundary.begin(); for (RankToBoundMap::iterator it = periodicBoundary.boundary.begin();
it != periodicBoundary.boundary.end(); ++it) { it != periodicBoundary.boundary.end(); ++it) {
MSG("PER BOUND WITH RANK %d!\n", it->first);
DofContainer& dofs = rankPeriodicDofs[it->first]; DofContainer& dofs = rankPeriodicDofs[it->first];
vector<int>& types = rankToDofType[it->first]; vector<int>& types = rankToDofType[it->first];
...@@ -1944,8 +1896,6 @@ namespace AMDiS { ...@@ -1944,8 +1896,6 @@ namespace AMDiS {
// Check if this global dof with the corresponding boundary type was // Check if this global dof with the corresponding boundary type was
// not added before by another periodic boundary from other rank. // not added before by another periodic boundary from other rank.
if (periodicDofAssociations[globalDofIndex].count(type) == 0) { 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; periodicDof[type][globalDofIndex] = mapGlobalDofIndex;
periodicDofAssociations[globalDofIndex].insert(type); periodicDofAssociations[globalDofIndex].insert(type);
} }
...@@ -2005,9 +1955,6 @@ namespace AMDiS { ...@@ -2005,9 +1955,6 @@ namespace AMDiS {
periodicDof[perIt->first][dofIt->second] == dofIt->first) periodicDof[perIt->first][dofIt->second] == dofIt->first)
("Should not happen!\n"); ("Should not happen!\n");
MSG("SET C: %d %d <-> %d\n",
perIt->first, dofIt->second, dofIt->first);
periodicDof[perIt->first][dofIt->second] = dofIt->first; periodicDof[perIt->first][dofIt->second] = dofIt->first;
} }
} }
......
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