Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
Mpp
Commits
26e07b29
Commit
26e07b29
authored
Jan 26, 2022
by
jonathan.froehlich
Browse files
[bugfix-stepscalculation] Fixed steps calculation
parent
cfd0b969
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib5_solvers/timeintegrator/TimeSeries.cpp
View file @
26e07b29
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
int
TimeSeries
::
stepSizeToSteps
()
const
{
int
TimeSeries
::
stepSizeToSteps
()
const
{
return
int
(
ceil
(
endTime
-
startTime
)
/
dt
);
return
int
(
ceil
(
(
endTime
-
startTime
)
/
dt
)
)
;
}
}
double
TimeSeries
::
stepsToStepSize
()
const
{
double
TimeSeries
::
stepsToStepSize
()
const
{
...
...
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