Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
451dd76d
Commit
451dd76d
authored
Apr 24, 2008
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Remove debug output information
parent
d2842e3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
61 deletions
+3
-61
AMDiS/src/AdaptInstationary.cc
AMDiS/src/AdaptInstationary.cc
+1
-1
AMDiS/src/ProblemInstat.cc
AMDiS/src/ProblemInstat.cc
+2
-51
AMDiS/src/Traverse.cc
AMDiS/src/Traverse.cc
+0
-9
No files found.
AMDiS/src/AdaptInstationary.cc
View file @
451dd76d
...
...
@@ -207,7 +207,7 @@ namespace AMDiS {
oneTimestep
();
problemTime_
->
closeTimestep
(
adaptInfo_
);
if
(
breakWhenStable
&&
(
adaptInfo_
->
getSolverIterations
()
==
0
))
{
if
(
breakWhenStable
&&
(
adaptInfo_
->
getSolverIterations
()
==
0
))
{
break
;
}
...
...
AMDiS/src/ProblemInstat.cc
View file @
451dd76d
...
...
@@ -30,10 +30,6 @@ namespace AMDiS {
initialAdapt
.
adapt
();
}
// void ProblemInstatVec::solveInitialProblem(AdaptInfo *adaptInfo)
// {
// }
void
ProblemInstatScal
::
transferInitialSolution
(
AdaptInfo
*
adaptInfo
)
{
TEST_EXIT
(
adaptInfo
->
getTime
()
==
...
...
@@ -56,25 +52,7 @@ namespace AMDiS {
ProblemStatBase
*
initialProb
)
:
ProblemInstat
(
name_
,
initialProb
),
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
()
...
...
@@ -142,34 +120,7 @@ namespace AMDiS {
ProblemStatBase
*
initialProb
)
:
ProblemInstat
(
name_
,
initialProb
),
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
()
{
...
...
AMDiS/src/Traverse.cc
View file @
451dd76d
...
...
@@ -563,18 +563,9 @@ namespace AMDiS {
return
NULL
;
stack_used
=
1
;
::
std
::
cout
<<
"<1>"
<<
::
std
::
endl
;
elinfo_stack
[
stack_used
]
->
fillMacroInfo
(
traverse_mel
);
::
std
::
cout
<<
"<2>"
<<
::
std
::
endl
;
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
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment