Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
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_pdata
Commits
16496f0e
Commit
16496f0e
authored
Sep 05, 2017
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing HDF5
parent
88341c4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
example/Vector/1_HDF5_save_load/Makefile
example/Vector/1_HDF5_save_load/Makefile
+1
-1
example/Vector/1_HDF5_save_load/main.cpp
example/Vector/1_HDF5_save_load/main.cpp
+2
-2
No files found.
example/Vector/1_HDF5_save_load/Makefile
View file @
16496f0e
...
...
@@ -11,7 +11,7 @@ all: hdf5
%.o
:
%.cpp
$(CC)
-O
3
$(OPT)
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O
0
$(OPT)
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
hdf5
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/1_HDF5_save_load/main.cpp
View file @
16496f0e
...
...
@@ -230,7 +230,7 @@ int main(int argc, char* argv[])
//! \cond [save_part] \endcond
vd
.
save
(
"particles_save.hdf5"
);
//! \cond [save_part] \endcond
/*!
...
...
@@ -264,7 +264,7 @@ int main(int argc, char* argv[])
vector_dist
<
3
,
float
,
aggregate
<
float
[
3
],
float
[
3
],
float
[
3
],
float
[
3
],
float
[
3
]
>
>
vd2
(
vd
.
getDecomposition
(),
0
);
// load the particles on another vector
vd2
.
load
(
"particles_
load
.hdf5"
);
vd2
.
load
(
"particles_
save
.hdf5"
);
//! \cond [hdf5_load] \endcond
...
...
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