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
5e36d8f5
Commit
5e36d8f5
authored
6 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Add the name of the equation of state to the snapshot meta-data."
This reverts commit
f99fc622
.
parent
ddd3f7a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/equation_of_state.h
+0
-3
0 additions, 3 deletions
src/equation_of_state.h
src/hydro_properties.c
+0
-1
0 additions, 1 deletion
src/hydro_properties.c
with
0 additions
and
4 deletions
src/equation_of_state.h
+
0
−
3
View file @
5e36d8f5
...
...
@@ -32,13 +32,10 @@
/* Import the right functions */
#if defined(EOS_IDEAL_GAS)
#include
"./equation_of_state/ideal_gas/equation_of_state.h"
#define EOS_NAME "Ideal gas"
#elif defined(EOS_ISOTHERMAL_GAS)
#include
"./equation_of_state/isothermal/equation_of_state.h"
#define EOS_NAME "Isothermal gas"
#elif defined(EOS_PLANETARY)
#include
"./equation_of_state/planetary/equation_of_state.h"
#define EOS_NAME "Planetary (variable) gas"
#else
#error "Invalid choice of equation of state"
#endif
...
...
This diff is collapsed.
Click to expand it.
src/hydro_properties.c
+
0
−
1
View file @
5e36d8f5
...
...
@@ -281,7 +281,6 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) {
io_write_attribute_i
(
h_grpsph
,
"Dimension"
,
(
int
)
hydro_dimension
);
io_write_attribute_f
(
h_grpsph
,
"Adiabatic index"
,
hydro_gamma
);
io_write_attribute_s
(
h_grpsph
,
"Equation of state"
,
EOS_NAME
);
io_write_attribute_s
(
h_grpsph
,
"Scheme"
,
SPH_IMPLEMENTATION
);
io_write_attribute_s
(
h_grpsph
,
"Kernel function"
,
kernel_name
);
io_write_attribute_f
(
h_grpsph
,
"Kernel target N_ngb"
,
p
->
target_neighbours
);
...
...
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