Commit 2fc80215 authored by Thomas Witkowski's avatar Thomas Witkowski

Small bug fix in ProblemInstat

parent 55df3b3f
...@@ -125,7 +125,7 @@ namespace AMDiS { ...@@ -125,7 +125,7 @@ namespace AMDiS {
oldSolution = new SystemVector("old solution", problemStat->getFeSpaces(), size); oldSolution = new SystemVector("old solution", problemStat->getFeSpaces(), size);
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
oldSolution->setDOFVector(i, new DOFVector<double>(problemStat->getFeSpace(i), oldSolution->setDOFVector(i, new DOFVector<double>(problemStat->getFeSpace(i),
name + "->uOld")); name + "_uOld"));
oldSolution->getDOFVector(i)->setCoarsenOperation(COARSE_INTERPOL); oldSolution->getDOFVector(i)->setCoarsenOperation(COARSE_INTERPOL);
if (problemStat->getEstimator(i)) if (problemStat->getEstimator(i))
......
...@@ -1491,6 +1491,7 @@ namespace AMDiS { ...@@ -1491,6 +1491,7 @@ namespace AMDiS {
partitioner->getRecvElements().size() == 0)) partitioner->getRecvElements().size() == 0))
("Partition is empty, should not happen!\n"); ("Partition is empty, should not happen!\n");
// === Create map that maps macro element indices to pointers to the === // === Create map that maps macro element indices to pointers to the ===
// === macro elements. === // === macro elements. ===
...@@ -1859,15 +1860,15 @@ namespace AMDiS { ...@@ -1859,15 +1860,15 @@ namespace AMDiS {
#if (DEBUG != 0) #if (DEBUG != 0)
static int fileNumber(0); //improvised counter for adapt Iteration static int fileNumber(0); //improvised counter for adapt Iteration
stringstream ss; stringstream ss;
ss << debugOutputDir << "elementMaps." << fileNumber ; ss << debugOutputDir << "elementMaps." << fileNumber ;
//write local Element Maps to csv file //write local Element Maps to csv file
ParallelDebug::writeCsvElementMap(feSpaces[0], ParallelDebug::writeCsvElementMap(feSpaces[0],
*(dofMaps[0]), *(dofMaps[0]),
ss.str(), "csv"); ss.str(), "csv");
fileNumber++; fileNumber++;
ParallelDebug::testDofContainerCommunication(*this); ParallelDebug::testDofContainerCommunication(*this);
......
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