File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ extern "C" void PunctureTracker_Track(CCTK_ARGUMENTS) {
117
117
g_punctures->getLocation ();
118
118
const std::array<std::vector<CCTK_REAL>, Loop::dim> &velocity =
119
119
g_punctures->getVelocity ();
120
+ const std::vector<CCTK_REAL> &time = g_punctures->getTime ();
120
121
const std::vector<CCTK_REAL> &previousTime = g_punctures->getPreviousTime ();
121
122
122
123
if (verbose) {
@@ -166,9 +167,11 @@ extern "C" void PunctureTracker_Track(CCTK_ARGUMENTS) {
166
167
167
168
// Write to pt_loc_foo and pt_vel_foo
168
169
for (int i = 0 ; i < nPunctures; ++i) {
170
+ pt_loc_t [i] = time[i];
169
171
pt_loc_x[i] = location[0 ][i];
170
172
pt_loc_y[i] = location[1 ][i];
171
173
pt_loc_z[i] = location[2 ][i];
174
+ pt_vel_t [i] = time[i];
172
175
pt_vel_x[i] = velocity[0 ][i];
173
176
pt_vel_y[i] = velocity[1 ][i];
174
177
pt_vel_z[i] = velocity[2 ][i];
You can’t perform that action at this time.
0 commit comments