aboutsummaryrefslogtreecommitdiff
path: root/src/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.c')
-rw-r--r--src/setup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/setup.c b/src/setup.c
index 982bbe9..f30d1ce 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -50,6 +50,14 @@ void SphericalSurfaceInfo_Setup (CCTK_ARGUMENTS)
+ /* copy parameters into grid functions */
+ sf_ntheta[n] = ntheta[n];
+ sf_nphi[n] = nphi[n];
+ sf_nghoststheta[n] = nghoststheta[n];
+ sf_nghostsphi[n] = nghostsphi[n];
+
+
+
/* coordinates in the theta direction */
/* avoid_sf_origin_theta = 1 */
if (symmetric_z[n]) {