Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_io
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_io
Commits
3ba9a838
Commit
3ba9a838
authored
Aug 19, 2017
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing IO test error
parent
863d65e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
2 deletions
+9
-2
src/HDF5_wr/HDF5_writer_gd.hpp
src/HDF5_wr/HDF5_writer_gd.hpp
+3
-0
src/HDF5_wr/HDF5_writer_vd.hpp
src/HDF5_wr/HDF5_writer_vd.hpp
+4
-1
src/VTKWriter/VTKWriter_grids_util.hpp
src/VTKWriter/VTKWriter_grids_util.hpp
+2
-0
src/VTKWriter/VTKWriter_unit_tests.hpp
src/VTKWriter/VTKWriter_unit_tests.hpp
+0
-1
test_data/vtk_points_2d_bin_test.vtk
test_data/vtk_points_2d_bin_test.vtk
+0
-0
No files found.
src/HDF5_wr/HDF5_writer_gd.hpp
View file @
3ba9a838
...
...
@@ -122,7 +122,10 @@ public:
for
(
int
i
=
0
;
i
<
mpi_rank
;
i
++
)
{
if
(
mpi_rank
==
0
)
{
/* coverity[dead_error_line] */
offset
[
0
]
=
0
;
}
else
offset
[
0
]
+=
sz_others
.
get
(
i
);
}
...
...
src/HDF5_wr/HDF5_writer_vd.hpp
View file @
3ba9a838
...
...
@@ -117,9 +117,12 @@ public:
for
(
int
i
=
0
;
i
<
mpi_rank
;
i
++
)
{
if
(
mpi_rank
==
0
)
{
/* coverity[dead_error_line] */
offset
[
0
]
=
0
;
}
else
offset
[
0
]
+=
sz_others
.
get
(
i
);
{
offset
[
0
]
+=
sz_others
.
get
(
i
);}
}
int
metadata
[
mpi_size
];
...
...
src/VTKWriter/VTKWriter_grids_util.hpp
View file @
3ba9a838
...
...
@@ -453,6 +453,8 @@ template<unsigned int dims,typename T> inline void output_point(Point<dims,T> &
for
(
;
i
<
3
;
i
++
)
{
// we use float so we have to convert to float
/* coverity[dead_error_begin] */
auto
tmp
=
0.0
;
tmp
=
swap_endian_lt
(
tmp
);
v_out
.
write
((
const
char
*
)
&
tmp
,
sizeof
(
tmp
));
...
...
src/VTKWriter/VTKWriter_unit_tests.hpp
View file @
3ba9a838
...
...
@@ -1165,7 +1165,6 @@ BOOST_AUTO_TEST_CASE( vtk_writer_use_point_set_binary )
v3ps
.
template
get
<
0
>(
i
)[
0
]
=
rng
.
GetUniform
()
*
0.3
;
v3ps
.
template
get
<
0
>(
i
)[
1
]
=
rng
.
GetUniform
()
*
0.3
;
v3ps
.
template
get
<
0
>(
i
)[
2
]
=
rng
.
GetUniform
()
*
0.3
;
v1pp
.
template
get
<
0
>(
i
)
=
rng
.
GetUniform
();
v1pp
.
template
get
<
1
>(
i
)[
0
][
0
]
=
rng
.
GetUniform
();
...
...
test_data/vtk_points_2d_bin_test.vtk
View file @
3ba9a838
No preview for this file type
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