Commit cae74fff authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed small parallel debug in deserialization code.

parent e6cb7a1d
......@@ -171,15 +171,14 @@ namespace AMDiS {
updateMacroElementInfo();
setRankDofs();
removePeriodicBoundaryConditions();
elObjDb.createMacroElementInfo(allMacroElements);
// createBoundaryDofs();
updateLocalGlobalNumbering();
setRankDofs();
#if (DEBUG != 0)
ParallelDebug::writeDebugFile(feSpaces[feSpaces.size() - 1], dofMap,
debugOutputDir + "mpi-dbg", "dat");
......@@ -1688,11 +1687,6 @@ namespace AMDiS {
lastMeshChangeIndex = mesh->getChangeIndex();
MSG("--------> REMOVE THIS LINE <------------\n");
debug::writeElementIndexMesh(mesh, debugOutputDir + "elementIndex-" +
lexical_cast<string>(mpiRank) + ".vtu");
#if (DEBUG != 0)
ParallelDebug::testDofContainerCommunication(*this);
......
......@@ -1103,7 +1103,6 @@ namespace AMDiS {
{
FUNCNAME("PetscSolverFeti::dbgMatrix()");
#if (DEBUG != 0)
int writeInteriorMatrix = -1;
Parameters::get("parallel->debug->write interior matrix",
writeInteriorMatrix);
......@@ -1184,6 +1183,11 @@ namespace AMDiS {
MatMult(mat_feti, unitVector, resultVector);
if (fetiPreconditioner != FETI_NONE) {
PCApply(precon_feti, resultVector, unitVector);
VecCopy(unitVector, resultVector);
}
PetscScalar *vals;
VecGetArray(resultVector, &vals);
......@@ -1215,7 +1219,6 @@ namespace AMDiS {
MSG("FETI-DP matrix written: %d x %d mat with %d nnz\n",
lagrangeMap.getOverallDofs(), lagrangeMap.getOverallDofs(), nnzCounter);
}
#endif
}
......
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