Commit 451dd76d authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

* Remove debug output information

parent d2842e3c
...@@ -207,7 +207,7 @@ namespace AMDiS { ...@@ -207,7 +207,7 @@ namespace AMDiS {
oneTimestep(); oneTimestep();
problemTime_->closeTimestep(adaptInfo_); problemTime_->closeTimestep(adaptInfo_);
if(breakWhenStable && (adaptInfo_->getSolverIterations() == 0)) { if (breakWhenStable && (adaptInfo_->getSolverIterations() == 0)) {
break; break;
} }
......
...@@ -30,10 +30,6 @@ namespace AMDiS { ...@@ -30,10 +30,6 @@ namespace AMDiS {
initialAdapt.adapt(); initialAdapt.adapt();
} }
// void ProblemInstatVec::solveInitialProblem(AdaptInfo *adaptInfo)
// {
// }
void ProblemInstatScal::transferInitialSolution(AdaptInfo *adaptInfo) void ProblemInstatScal::transferInitialSolution(AdaptInfo *adaptInfo)
{ {
TEST_EXIT(adaptInfo->getTime() == TEST_EXIT(adaptInfo->getTime() ==
...@@ -56,25 +52,7 @@ namespace AMDiS { ...@@ -56,25 +52,7 @@ namespace AMDiS {
ProblemStatBase *initialProb) ProblemStatBase *initialProb)
: ProblemInstat(name_, initialProb), : ProblemInstat(name_, initialProb),
problemStat(prob),oldSolution(NULL) problemStat(prob),oldSolution(NULL)
{ {};
// create instationary adapt
// int maxSpaceIter = problemStat->getAdapt()->getAdaptInfo()->getMaxSpaceIteration();
// adaptInstat = NEW AdaptInstationary((name+"->adapt").c_str(),
// problemStat,
// this,
// problemStat->getAdaptInfo(),
// maxSpaceIter);
// create oldSolution
/* oldSolution = NEW DOFVector<double>(problemStat->getFESpace(), name + "->uOld");
oldSolution->refineInterpol(true);
oldSolution->setCoarsenOperation(COARSE_INTERPOL);
if(problemStat->getEstimator()) {
dynamic_cast<Estimator*>(problemStat->getEstimator())
->addUhOldToSystem(0, oldSolution);
} */
};
ProblemInstatScal::~ProblemInstatScal() ProblemInstatScal::~ProblemInstatScal()
...@@ -142,34 +120,7 @@ namespace AMDiS { ...@@ -142,34 +120,7 @@ namespace AMDiS {
ProblemStatBase *initialProb) ProblemStatBase *initialProb)
: ProblemInstat(name_, initialProb), : ProblemInstat(name_, initialProb),
problemStat(prob),oldSolution(NULL) problemStat(prob),oldSolution(NULL)
{ {};
// create instationary adapt
// int maxSpaceIter = problemStat->getAdapt()->getAdaptInfo()->getMaxSpaceIteration();
// adaptInstat = NEW AdaptInstationary((name+"->adapt").c_str(),
// problemStat,
// this,
// problemStat->getAdaptInfo(),
// maxSpaceIter);
// create oldSolution
/* oldSolution = NEW SystemVector(problemStat->getFESpace(), size);
int i;
for(i = 0; i < size; i++) {
oldSolution->setDOFVector(i, NEW DOFVector<double>(problemStat->getFESpace(),
name + "->uOld"));
oldSolution->getDOFVector(i)->refineInterpol(true);
oldSolution->getDOFVector(i)->setCoarsenOperation(COARSE_INTERPOL);
if(problemStat->getEstimator()) {
dynamic_cast<EstimatorVec*>(problemStat->getEstimator())
->getScalarEstimator(i)
->addUhOldToSystem(i, oldSolution->getDOFVector(i));
}
} */
};
ProblemInstatVec::~ProblemInstatVec() ProblemInstatVec::~ProblemInstatVec()
{ {
......
...@@ -563,18 +563,9 @@ namespace AMDiS { ...@@ -563,18 +563,9 @@ namespace AMDiS {
return NULL; return NULL;
stack_used = 1; stack_used = 1;
::std::cout << "<1>" << ::std::endl;
elinfo_stack[stack_used]->fillMacroInfo(traverse_mel); elinfo_stack[stack_used]->fillMacroInfo(traverse_mel);
::std::cout << "<2>" << ::std::endl;
info_stack[stack_used] = 0; info_stack[stack_used] = 0;
for (int i = 0; i < 3; i++) {
if (elinfo_stack[stack_used]->getNeighbour(i)) {
::std::cout << "MACRO TEST SET[" << i << "] = " << (elinfo_stack[stack_used]->getNeighbour(i))->getIndex() << ::std::endl;
}
}
::std::cout << "<3>" << ::std::endl;
return(elinfo_stack[stack_used]); return(elinfo_stack[stack_used]);
} }
......
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