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
898462f6
Commit
898462f6
authored
Jan 28, 2022
by
niklas.baumgarten
Browse files
Merge branch 'Index-Shift-ST-Vtu-Plot' into 'feature'
[Index-Shift-ST-Vtu-Plot] index shift See merge request mpp/mpp!406
parents
10a2656d
13120f9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib4_fem/plot/VtuPlot.cpp
View file @
898462f6
...
...
@@ -24,10 +24,10 @@ void VtuPlot::createVtu(const string &filename) {
std
::
ofstream
out
(
filepath
.
c_str
());
stream
(
out
,
0
);
}
else
{
for
(
int
step
=
0
;
step
<
plotMesh
().
steps
()
-
1
;
step
++
)
{
for
(
int
step
=
1
;
step
<
plotMesh
().
steps
();
step
++
)
{
string
filepath
=
dataPath
+
filename
+
"."
+
to_string
(
step
)
+
string
(
".vtu"
);
std
::
ofstream
out
(
filepath
.
c_str
());
stream
(
out
,
step
);
stream
(
out
,
step
-
1
);
}
}
}
...
...
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