aboutsummaryrefslogtreecommitdiff
path: root/src/setup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.cc')
-rw-r--r--src/setup.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setup.cc b/src/setup.cc
index db6a92f..76bf945 100644
--- a/src/setup.cc
+++ b/src/setup.cc
@@ -336,6 +336,9 @@ extern "C" void SphericalSurface_SetupRes (CCTK_ARGUMENTS)
// can decide which reflevel to use
// set resolution according to Radius and Cartesian resolution
+
+ if (!auto_res[n])
+ continue;
CCTK_REAL my_radius;