Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
da11d057
Commit
da11d057
authored
Jul 10, 2012
by
Praetorius, Simon
Browse files
small corrections
parent
df04dc93
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/CouplingIterationInterface.cc
View file @
da11d057
...
...
@@ -43,7 +43,10 @@ namespace AMDiS {
void
CouplingIterationInterface
::
beginIteration
(
AdaptInfo
*
adaptInfo
)
{
FUNCNAME
(
"CouplingIterationInterface::beginIteration()"
);
MSG
(
"
\n
"
);
int
nTimesteps
=
(
adaptInfo
->
getNumberOfTimesteps
()
?
adaptInfo
->
getNumberOfTimesteps
()
:
(
adaptInfo
->
getEndTime
()
-
adaptInfo
->
getStartTime
())
/
adaptInfo
->
getTimestep
());
int
nTimesteps
=
(
adaptInfo
->
getNumberOfTimesteps
()
?
adaptInfo
->
getNumberOfTimesteps
()
:
static_cast
<
int
>
((
adaptInfo
->
getEndTime
()
-
adaptInfo
->
getStartTime
())
/
adaptInfo
->
getTimestep
())
);
MSG
(
"begin of iteration number: %d/%d
\n
"
,
adaptInfo
->
getTimestepNumber
()
+
1
,
nTimesteps
);
...
...
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