Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
1963c597
Commit
1963c597
authored
Dec 17, 2018
by
Andrea Vescovini
Browse files
Fixed bug when timestep in reduced
parent
9ca4a24e
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/timeloop.hh
View file @
1963c597
...
...
@@ -134,6 +134,7 @@ public:
{
timeStepIdx_
++
;
time_
+=
timeStepSize_
;
previousTimeStepSize_
=
timeStepSize_
;
}
/*!
...
...
@@ -197,7 +198,6 @@ public:
{
using
std
::
min
;
computeMaxTimeStepSize_
();
previousTimeStepSize_
=
timeStepSize_
;
timeStepSize_
=
min
(
dt
,
maxTimeStepSize_
);
}
...
...
@@ -300,7 +300,6 @@ public:
<<
"Wall time: "
<<
cpuTime_
<<
", time: "
<<
time_
<<
", time step size: "
<<
timeStepSize_
<<
", previous time step size: "
<<
previousTimeStepSize_
<<
std
::
endl
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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