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
cb78dad5
Commit
cb78dad5
authored
6 years ago
by
Folkert Nobels
Browse files
Options
Downloads
Patches
Plain Diff
Update star particles to have EAGLE chemistry
parent
7d5d4b8a
No related branches found
No related tags found
1 merge request
!705
Star formation following Schaye08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/stars/Eagle/stars_part.h
+3
-39
3 additions, 39 deletions
src/stars/Eagle/stars_part.h
with
3 additions
and
39 deletions
src/stars/Eagle/stars_part.h
+
3
−
39
View file @
cb78dad5
...
@@ -50,7 +50,7 @@ struct spart {
...
@@ -50,7 +50,7 @@ struct spart {
/*! Star mass */
/*! Star mass */
float
mass
;
float
mass
;
/* Initial star mass */
/* Initial star mass */
float
mass_init
;
float
mass_init
;
...
@@ -73,43 +73,7 @@ struct spart {
...
@@ -73,43 +73,7 @@ struct spart {
}
density
;
}
density
;
/* structure with all metallicities */
/* structure with all metallicities */
struct
metallicity
{
struct
chemistry_part_data
chemistry_data
;
/* Hydrogen abundance */
float
X
;
/* Helium abundance */
float
Y
;
/* Abundance all metals */
float
Z
;
/* Abundance Carbon */
float
C
;
/* Abundance Nitrogen */
float
N
;
/* Abundance Oxygen */
float
O
;
/* Abundance Neon */
float
Ne
;
/* Abundance Magnesium */
float
Mg
;
/* Abundance Silicon */
float
Si
;
/* Abundance Sulfur */
float
S
;
/* Abundance Calcium */
float
Ca
;
/* Abundance Iron */
float
Fe
;
};
#ifdef SWIFT_DEBUG_CHECKS
#ifdef SWIFT_DEBUG_CHECKS
...
@@ -159,7 +123,7 @@ struct stars_props {
...
@@ -159,7 +123,7 @@ struct stars_props {
/*! Fixed mass ratio Ca to Si */
/*! Fixed mass ratio Ca to Si */
float
Ca_to_Si
;
float
Ca_to_Si
;
/*! Fixed mass ratio S to Si */
/*! Fixed mass ratio S to Si */
float
S_to_Si
;
float
S_to_Si
;
};
};
...
...
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