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
Merge requests
!965
Add kernel gamma to output
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add kernel gamma to output
add-kernel-gamma-to-output
into
master
Overview
0
Commits
1
Changes
1
Merged
Josh Borrow
requested to merge
add-kernel-gamma-to-output
into
master
5 years ago
Overview
0
Commits
1
Changes
1
Expand
Adds the
kernel_gamma
to the snapshot.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
7b3b79ae
1 commit,
5 years ago
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/hydro_properties.c
+
1
−
0
Options
@@ -274,6 +274,7 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) {
io_write_attribute_f
(
h_grpsph
,
"Kernel target N_ngb"
,
p
->
target_neighbours
);
io_write_attribute_f
(
h_grpsph
,
"Kernel delta N_ngb"
,
p
->
delta_neighbours
);
io_write_attribute_f
(
h_grpsph
,
"Kernel eta"
,
p
->
eta_neighbours
);
io_write_attribute_f
(
h_grpsph
,
"Kernel gamma"
,
kernel_gamma
);
io_write_attribute_f
(
h_grpsph
,
"Smoothing length tolerance"
,
p
->
h_tolerance
);
io_write_attribute_f
(
h_grpsph
,
"Maximal smoothing length [internal units]"
,
p
->
h_max
);
Loading