Skip to content
Snippets Groups Projects
Commit 12a0a979 authored by James Willis's avatar James Willis
Browse files

Removed old interaction debugging option and created a new one that is not...

Removed old interaction debugging option and created a new one that is not associated with an SPH scheme.
parent 2f87756c
Branches
Tags
1 merge request!443Debug interactions
...@@ -226,6 +226,18 @@ if test "$enable_debugging_checks" = "yes"; then ...@@ -226,6 +226,18 @@ if test "$enable_debugging_checks" = "yes"; then
AC_DEFINE([SWIFT_DEBUG_CHECKS],1,[Enable expensive debugging]) AC_DEFINE([SWIFT_DEBUG_CHECKS],1,[Enable expensive debugging])
fi fi
# Check if debugging interactions is switched on.
AC_ARG_ENABLE([debug-interactions],
[AS_HELP_STRING([--enable-debug-interactions],
[Activate interaction debugging @<:@yes/no@:>@]
)],
[enable_debug_interactions="$enableval"],
[enable_debug_interactions="no"]
)
if test "$enable_debug_interactions" = "yes"; then
AC_DEFINE([DEBUG_INTERACTIONS_SPH],1,[Enable interaction debugging])
fi
# Check whether we want to default to naive cell interactions # Check whether we want to default to naive cell interactions
AC_ARG_ENABLE([naive-interactions], AC_ARG_ENABLE([naive-interactions],
[AS_HELP_STRING([--enable-naive-interactions], [AS_HELP_STRING([--enable-naive-interactions],
...@@ -651,9 +663,6 @@ case "$with_hydro" in ...@@ -651,9 +663,6 @@ case "$with_hydro" in
minimal) minimal)
AC_DEFINE([MINIMAL_SPH], [1], [Minimal SPH]) AC_DEFINE([MINIMAL_SPH], [1], [Minimal SPH])
;; ;;
debug)
AC_DEFINE([DEBUG_INTERACTIONS_SPH], [1], [Debug SPH])
;;
hopkins) hopkins)
AC_DEFINE([HOPKINS_PE_SPH], [1], [Pressure-Entropy SPH]) AC_DEFINE([HOPKINS_PE_SPH], [1], [Pressure-Entropy SPH])
;; ;;
...@@ -927,11 +936,12 @@ AC_MSG_RESULT([ ...@@ -927,11 +936,12 @@ AC_MSG_RESULT([
Multipole order : $with_multipole_order Multipole order : $with_multipole_order
No gravity below ID : $no_gravity_below_id No gravity below ID : $no_gravity_below_id
Individual timers : $enable_timers Individual timers : $enable_timers
Task debugging : $enable_task_debugging Task debugging : $enable_task_debugging
Threadpool debugging : $enable_threadpool_debugging Threadpool debugging : $enable_threadpool_debugging
Debugging checks : $enable_debugging_checks Debugging checks : $enable_debugging_checks
Naive interactions : $enable_naive_interactions Interaction debugging : $enable_debug_interactions
Gravity checks : $gravity_force_checks Naive interactions : $enable_naive_interactions
Gravity checks : $gravity_force_checks
------------------------]) ------------------------])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment