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
0ca7529f
Commit
0ca7529f
authored
6 years ago
by
Folkert Nobels
Browse files
Options
Downloads
Patches
Plain Diff
Update star formation routine
parent
8868e5be
Loading
Loading
1 merge request
!705
Star formation following Schaye08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/starformation/schaye08/starformation.h
+2
-2
2 additions, 2 deletions
src/starformation/schaye08/starformation.h
with
2 additions
and
2 deletions
src/starformation/schaye08/starformation.h
+
2
−
2
View file @
0ca7529f
...
...
@@ -97,8 +97,8 @@ static int starformation_potential_to_become_star(
/* Calculate the internal energy using the density and entropy */
/* Ask Matthieu about p->entropy vs xp->entropy_full */
const
double
internal_energy
=
gas
_internal_energy
_from_entropy
(
p
->
rho
,
p
->
entropy
);
const
double
internal_energy
=
hydro_get_physical
_internal_energy
(
p
,
xp
,
cosmo
);
/* Calculate the temperature over mu of the gas */
/* Temporary part of the code!! */
...
...
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