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
449a699f
Commit
449a699f
authored
Mar 11, 2014
by
Backofen, Rainer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add debug output for time adaptivity (all strategies)
parent
8d9180ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
AMDiS/src/AdaptInstationary.cc
AMDiS/src/AdaptInstationary.cc
+15
-1
No files found.
AMDiS/src/AdaptInstationary.cc
View file @
449a699f
...
...
@@ -162,6 +162,12 @@ namespace AMDiS {
problemIteration
->
oneIteration
(
adaptInfo
,
FULL_ITERATION
);
problemIteration
->
endIteration
(
adaptInfo
);
adaptInfo
->
setLastProcessedTimestep
(
adaptInfo
->
getTimestep
());
if
(
dbgMode
)
{
std
::
cout
<<
"=== ADAPT INFO DEBUG MODE ===
\n
"
;
std
::
cout
<<
"=== explicitTimeStrategy() ===
\n
"
;
adaptInfo
->
printTimeErrorLowInfo
();
}
}
...
...
@@ -201,7 +207,14 @@ namespace AMDiS {
// === Space iterations. ===
do
{
problemIteration
->
beginIteration
(
adaptInfo
);
if
(
dbgMode
)
{
std
::
cout
<<
"=== ADAPT INFO DEBUG MODE ===
\n
"
;
std
::
cout
<<
"=== in implicitTimeStrategy() ===
\n
"
;
std
::
cout
<<
"=== space/time iteration "
<<
adaptInfo
->
getSpaceIteration
()
<<
" : "
<<
adaptInfo
->
getTimestepIteration
()
<<
" ===
\n
"
;
adaptInfo
->
printTimeErrorLowInfo
();
}
if
(
problemIteration
->
oneIteration
(
adaptInfo
,
FULL_ITERATION
))
{
if
(
!
fixedTimestep
&&
!
adaptInfo
->
timeToleranceReached
()
&&
...
...
@@ -231,6 +244,7 @@ namespace AMDiS {
adaptInfo
->
setLastProcessedTimestep
(
adaptInfo
->
getTimestep
());
// After successful iteration/timestep the timestep will be changed according
// adaption rules for next timestep.
// First, check for increase of timestep
...
...
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