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
e2a6cf76
Commit
e2a6cf76
authored
6 years ago
by
Folkert Nobels
Browse files
Options
Downloads
Patches
Plain Diff
Add star formation recipy option to the configuration file
parent
e3c5fafb
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
configure.ac
+25
-5
25 additions, 5 deletions
configure.ac
with
25 additions
and
5 deletions
configure.ac
+
25
−
5
View file @
e2a6cf76
...
...
@@ -1677,6 +1677,26 @@ case "$with_potential" in
;;
esac
# Star formation
AC_ARG_WITH([star-formation],
[AS_HELP_STRING([--with-star-formation=<sfm>],
[star formation @<:@none, schaye08, default: none@:>@]
)],
[with_star_formation="$withval"],
[with_star_formation="none"]
)
case "$with_star_formation" in
none)
AC_DEFINE([STAR_FORMATION_NONE], [1], [No star formation])
;;
schaye08)
AC_DEFINE([STAR_FORMATION_SCHAYE], [1], [Schaye and Dalla Vecchia (2008) star formation])
;;
*)
AC_MSG_ERROR([Unknown star formation model])
;;
esac
# Gravity multipole order
AC_ARG_WITH([multipole-order],
[AS_HELP_STRING([--with-multipole-order=<order>],
...
...
@@ -1768,11 +1788,11 @@ AC_MSG_RESULT([
Make gravity glass : $gravity_glass_making
External potential : $with_potential
Cooling function : $with_cooling
Chemistry : $with_chemistry
Tracers
: $with_
trace
rs
St
ellar
model
: $with_star
s
Feedback model : $with_feedback
Cooling function
: $with_cooling
Chemistry
: $with_chemistry
Stellar model
: $with_
sta
rs
St
ar formation
model : $with_star
_formation
Feedback model
: $with_feedback
Individual timers : $enable_timers
Task debugging : $enable_task_debugging
...
...
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