diff options
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Startup.c b/src/Startup.c index 4ff970d..19cf382 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -125,13 +125,13 @@ static void *SetupGH (tFleshConfig *config, int convergence_level, cGH *GH) /* allocate once for all fields of same type */ nprocs = CCTK_nProcs (GH); - myGH->send_count = malloc (4 * nprocs * sizeof (int)); - myGH->send_displ = myGH->send_count + nprocs; - myGH->recv_count = myGH->send_displ + nprocs; - myGH->recv_displ = myGH->recv_count + nprocs; + myGH->sendcnt = malloc (4 * nprocs * sizeof (int)); + myGH->senddispl = myGH->sendcnt + nprocs; + myGH->recvcnt = myGH->senddispl + nprocs; + myGH->recvdispl = myGH->recvcnt + nprocs; - myGH->num_points_from = malloc (2 * nprocs * sizeof (CCTK_INT)); - myGH->num_points_to = myGH->num_points_from + nprocs; + myGH->N_points_from = malloc (2 * nprocs * sizeof (CCTK_INT)); + myGH->N_points_to = myGH->N_points_from + nprocs; return (myGH); } @@ -143,7 +143,7 @@ static void *SetupGH (tFleshConfig *config, int convergence_level, cGH *GH) @date Wed 14 Feb 2001 @author Thomas Radke @desc - Wrappers for the different interpolation operators + Wrappers for the different interpolation operators registered for first/second/third order interpolation. These wrappers just call the common interpolation routine passing all arguments plus the interpolation order. @@ -170,7 +170,7 @@ static int InterpGV_1stOrder (cGH *GH, interp_coord_arrays, interp_coord_array_types, in_array_indices, out_arrays, out_array_types)); } - + static int InterpGV_2ndOrder (cGH *GH, const char *coord_system, @@ -188,7 +188,7 @@ static int InterpGV_2ndOrder (cGH *GH, interp_coord_arrays, interp_coord_array_types, in_array_indices, out_arrays, out_array_types)); } - + static int InterpGV_3rdOrder (cGH *GH, const char *coord_system, |