diff options
author | schnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d> | 2005-01-03 17:00:08 +0000 |
---|---|---|
committer | schnetter <schnetter@40f6ab95-0e4f-0410-8daa-ee8d7420be1d> | 2005-01-03 17:00:08 +0000 |
commit | 5d364d9152c1bc46e36c904f54b55d0f71d388bb (patch) | |
tree | 68b1aa1d646eb991e9858646fd374f8b63ea0c42 /src/setup.c | |
parent | 451d82e92c0763e8672ca0e077acb513157112db (diff) |
Copy the parameters ntheta, nphi, nghoststheta, and nghostsphi into
grid functions with the same name, but with an "sf_" prefix. This
makes it easy to output these parameters, which is necessary for
visualisation.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SphericalSurface/trunk@17 40f6ab95-0e4f-0410-8daa-ee8d7420be1d
Diffstat (limited to 'src/setup.c')
-rw-r--r-- | src/setup.c | 8 |
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]) { |