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
53dbe5ff
Commit
53dbe5ff
authored
3 years ago
by
Mladen Ivkovic
Committed by
Matthieu Schaller
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
physical_const_print_snapshot: write solar_luminosity to correct group
parent
09680f6c
Branches
Branches containing commit
No related tags found
2 merge requests
!1558
Sync mhd canvas before is too late
,
!1550
physical_const_print_snapshot: write solar_luminosity to correct group
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/physical_constants.c
+1
-1
1 addition, 1 deletion
src/physical_constants.c
with
1 addition
and
1 deletion
src/physical_constants.c
+
1
−
1
View file @
53dbe5ff
...
...
@@ -275,7 +275,7 @@ void phys_const_print_snapshot(hid_t h_file, const struct phys_const *p) {
io_write_attribute_d
(
h_grp_int
,
"earth_radius"
,
p
->
const_earth_radius
);
io_write_attribute_d
(
h_grp_int
,
"solar_mass"
,
p
->
const_solar_mass
);
io_write_attribute_d
(
h_grp_int
,
"earth_mass"
,
p
->
const_earth_mass
);
io_write_attribute_d
(
h_grp_
cgs
,
"solar_luminosity"
,
io_write_attribute_d
(
h_grp_
int
,
"solar_luminosity"
,
p
->
const_solar_luminosity
);
io_write_attribute_d
(
h_grp_int
,
"T_CMB_0"
,
p
->
const_T_CMB_0
);
io_write_attribute_d
(
h_grp_int
,
"primordial_He_fraction"
,
...
...
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