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
1dc4b908
Commit
1dc4b908
authored
7 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Documentation of the new i/o function parameters.
parent
6418b3dc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/common_io.c
+2
-0
2 additions, 0 deletions
src/common_io.c
src/parallel_io.c
+1
-0
1 addition, 0 deletions
src/parallel_io.c
src/serial_io.c
+1
-0
1 addition, 0 deletions
src/serial_io.c
with
4 additions
and
0 deletions
src/common_io.c
+
2
−
0
View file @
1dc4b908
...
@@ -692,6 +692,7 @@ void io_duplicate_hydro_gparts_mapper(void* restrict data, int Ngas,
...
@@ -692,6 +692,7 @@ void io_duplicate_hydro_gparts_mapper(void* restrict data, int Ngas,
* This function assumes that the DM particles are all at the start of the
* This function assumes that the DM particles are all at the start of the
* gparts array and adds the hydro particles afterwards
* gparts array and adds the hydro particles afterwards
*
*
* @param tp The current #threadpool.
* @param parts The array of #part freshly read in.
* @param parts The array of #part freshly read in.
* @param gparts The array of #gpart freshly read in with all the DM particles
* @param gparts The array of #gpart freshly read in with all the DM particles
* at the start
* at the start
...
@@ -747,6 +748,7 @@ void io_duplicate_hydro_sparts_mapper(void* restrict data, int Nstars,
...
@@ -747,6 +748,7 @@ void io_duplicate_hydro_sparts_mapper(void* restrict data, int Nstars,
* This function assumes that the DM particles and gas particles are all at
* This function assumes that the DM particles and gas particles are all at
* the start of the gparts array and adds the star particles afterwards
* the start of the gparts array and adds the star particles afterwards
*
*
* @param tp The current #threadpool.
* @param sparts The array of #spart freshly read in.
* @param sparts The array of #spart freshly read in.
* @param gparts The array of #gpart freshly read in with all the DM and gas
* @param gparts The array of #gpart freshly read in with all the DM and gas
* particles at the start.
* particles at the start.
...
...
This diff is collapsed.
Click to expand it.
src/parallel_io.c
+
1
−
0
View file @
1dc4b908
...
@@ -530,6 +530,7 @@ void writeArray(struct engine* e, hid_t grp, char* fileName, FILE* xmfFile,
...
@@ -530,6 +530,7 @@ void writeArray(struct engine* e, hid_t grp, char* fileName, FILE* xmfFile,
* @param mpi_size The number of MPI ranks
* @param mpi_size The number of MPI ranks
* @param comm The MPI communicator
* @param comm The MPI communicator
* @param info The MPI information object
* @param info The MPI information object
* @param n_threads The number of threads to use for local operations.
* @param dry_run If 1, don't read the particle. Only allocates the arrays.
* @param dry_run If 1, don't read the particle. Only allocates the arrays.
*
*
*/
*/
...
...
This diff is collapsed.
Click to expand it.
src/serial_io.c
+
1
−
0
View file @
1dc4b908
...
@@ -380,6 +380,7 @@ void writeArray(const struct engine* e, hid_t grp, char* fileName,
...
@@ -380,6 +380,7 @@ void writeArray(const struct engine* e, hid_t grp, char* fileName,
* @param mpi_size The number of MPI ranks
* @param mpi_size The number of MPI ranks
* @param comm The MPI communicator
* @param comm The MPI communicator
* @param info The MPI information object
* @param info The MPI information object
* @param n_threads The number of threads to use for local operations.
* @param dry_run If 1, don't read the particle. Only allocates the arrays.
* @param dry_run If 1, don't read the particle. Only allocates the arrays.
*
*
* Opens the HDF5 file fileName and reads the particles contained
* Opens the HDF5 file fileName and reads the particles contained
...
...
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