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 / Register
Toggle navigation
Open sidebar
Ben Boeckel
Xdmf
Commits
c7fdba20
Commit
c7fdba20
authored
Mar 13, 2013
by
Andrew J. Burns (Cont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed controller addition issue during append
parent
88ed3531
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/XdmfHDF5Writer.cpp
core/XdmfHDF5Writer.cpp
+2
-2
No files found.
core/XdmfHDF5Writer.cpp
View file @
c7fdba20
...
...
@@ -702,10 +702,10 @@ XdmfHDF5Writer::write(XdmfArray & array,
}
if
(
mMode
==
Append
)
{
//if the written filename is different write add the previous controller
if
(
*
(
(
filesWritten
.
end
())
--
)
!=
heavyDataController
->
getFilePath
())
{
if
(
*
(
filesWritten
.
rbegin
()
)
!=
heavyDataController
->
getFilePath
())
{
//should also be different from previous controller
if
(
filesWritten
.
size
()
>
1
)
{
if
(
*
(
(
filesWritten
.
end
())
--
)
!=
*
((
(
filesWritten
.
end
())
--
)
--
))
{
if
(
*
(
filesWritten
.
rbegin
()
)
!=
*
((
filesWritten
.
rbegin
())
++
))
{
array
.
insert
(
heavyDataController
);
}
}
...
...
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