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

Small bug fix in ProblemInstat

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