Skip to content
Snippets Groups Projects
Commit e2a6cf76 authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Add star formation recipy option to the configuration file

parent e3c5fafb
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -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_tracers
Stellar model : $with_stars
Feedback model : $with_feedback
Cooling function : $with_cooling
Chemistry : $with_chemistry
Stellar model : $with_stars
Star formation model : $with_star_formation
Feedback model : $with_feedback
Individual timers : $enable_timers
Task debugging : $enable_task_debugging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment