Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
66c0370b
Commit
66c0370b
authored
4 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Plain Diff
Merge branch 'GEAR-hdf5-reading-fix' into 'master'
Gear hdf5 reading fix Closes
#701
See merge request
!1144
parents
e0750f24
10780ed3
No related branches found
No related tags found
1 merge request
!1144
Gear hdf5 reading fix
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/GEAR/AgoraDisk/agora_disk.yml
+1
-0
1 addition, 0 deletions
examples/GEAR/AgoraDisk/agora_disk.yml
examples/GEAR/getChemistryTable.sh
+0
-0
0 additions, 0 deletions
examples/GEAR/getChemistryTable.sh
src/feedback/GEAR/hdf5_functions.h
+1
-1
1 addition, 1 deletion
src/feedback/GEAR/hdf5_functions.h
with
2 additions
and
1 deletion
examples/GEAR/AgoraDisk/agora_disk.yml
+
1
−
0
View file @
66c0370b
...
...
@@ -9,6 +9,7 @@ InternalUnitSystem:
Scheduler
:
max_top_level_cells
:
16
cell_extra_sparts
:
5000
# (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation.
cell_extra_gparts
:
5000
# (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation.
cell_max_size
:
8000
# (Optional) Maximal number of interactions per task if we force the split (this is the default value).
cell_sub_size_pair_hydro
:
2560
# (Optional) Maximal number of hydro-hydro interactions per sub-pair hydro/star task (this is the default value).
cell_sub_size_self_hydro
:
3200
# (Optional) Maximal number of hydro-hydro interactions per sub-self hydro/star task (this is the default value).
...
...
This diff is collapsed.
Click to expand it.
examples/GEAR/getChemistryTable.sh
100644 → 100755
+
0
−
0
View file @
66c0370b
File mode changed from 100644 to 100755
This diff is collapsed.
Click to expand it.
src/feedback/GEAR/hdf5_functions.h
+
1
−
1
View file @
66c0370b
...
...
@@ -80,7 +80,7 @@ io_read_string_array_attribute(hid_t grp, const char *name, void *data,
for
(
hsize_t
i
=
0
;
i
<
number_element
;
i
++
)
{
char
*
src
=
tmp
+
i
*
sdim
;
char
*
dest
=
data
+
i
*
size_per_element
;
memcpy
(
dest
,
src
,
sdim
);
memcpy
(
dest
,
src
,
sdim
+
1
);
}
/* Cleanup */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment