Commit 197afdac authored by Volker Springel's avatar Volker Springel
Browse files

if PMGRID is used together with HIERARCHICAL_GRAVITY, enfore that...

if PMGRID is used together with HIERARCHICAL_GRAVITY, enfore that TREEPM_NOTIMESPLIT is enabled as well
parent 807f39bf
......@@ -225,6 +225,10 @@
#error "If PMGRID is used without PERIODIC, TREEPM_NOTIMESPLIT needs to be activated"
#endif
#if defined(PMGRID) && defined(HIERARCHICAL_GRAVITY) && !defined(TREEPM_NOTIMESPLIT)
#error "If PMGRID is used together with HIERARCHICAL_GRAVITY, you also need to use TREEPM_NOTIMESPLIT"
#endif
#if defined(PLACEHIGHRESREGION) && !defined(RANDOMIZE_DOMAINCENTER)
#error "PLACEHIGHRESREGION requires RANDOMIZE_DOMAINCENTER."
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment