diff options
Diffstat (limited to 'src/punc_track.c')
-rw-r--r-- | src/punc_track.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/punc_track.c b/src/punc_track.c index d4b83fa..7fb26b9 100644 --- a/src/punc_track.c +++ b/src/punc_track.c @@ -157,8 +157,8 @@ void update_punc_loc(CCTK_ARGUMENTS){ pt_loc_y[n] = pt_loc_y_p[n] - pt_shifty[n] * pt_dt; pt_loc_z[n] = pt_loc_z_p[n] - pt_shiftz[n] * pt_dt; - sf_centroid_x[pt_which_surface_to_take[n]]=pt_loc_x[n]; - sf_centroid_y[pt_which_surface_to_take[n]]=pt_loc_y[n]; - sf_centroid_z[pt_which_surface_to_take[n]]=pt_loc_z[n]; + sf_centroid_x[pt_which_surface_to_take[n]]=pt_loc_x_p[n]; + sf_centroid_y[pt_which_surface_to_take[n]]=pt_loc_y_p[n]; + sf_centroid_z[pt_which_surface_to_take[n]]=pt_loc_z_p[n]; } } |