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
2d23a97e
Commit
2d23a97e
authored
7 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Moved an #ifdef HDF5 in the common_io section and removed incorrect comment related to XMF files.
parent
6f48a66b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common_io.c
+2
-16
2 additions, 16 deletions
src/common_io.c
with
2 additions
and
16 deletions
src/common_io.c
+
2
−
16
View file @
2d23a97e
...
...
@@ -406,6 +406,8 @@ void io_write_code_description(hid_t h_file) {
H5Gclose
(
h_grpcode
);
}
#endif
/* HAVE_HDF5 */
/**
* @brief Mapper function to copy #part or #gpart fields into a buffer.
*/
...
...
@@ -608,22 +610,6 @@ void io_copy_temp_buffer(void* temp, const struct engine* e,
}
}
#endif
/* HAVE_HDF5 */
/* ------------------------------------------------------------------------------------------------
* This part writes the XMF file descriptor enabling a visualisation through
* ParaView
* ------------------------------------------------------------------------------------------------
*/
/**
* @brief Prepares the XMF file for the new entry
*
* Creates a temporary file on the disk in order to copy the right lines.
*
* @todo Use a proper XML library to avoid stupid copies.
*/
/**
* @brief Prepare the DM particles (in gparts) read in for the addition of the
* other particle types
...
...
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