From 753009b1b3adbdcf9348641447e2749efddee191 Mon Sep 17 00:00:00 2001 From: Liwei Ji Date: Mon, 11 Sep 2023 21:01:02 -0500 Subject: [PATCH] PunctureTracker: Use printf inside kernel --- PunctureTracker/src/puncture_tracker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PunctureTracker/src/puncture_tracker.cc b/PunctureTracker/src/puncture_tracker.cc index 87c8473c..e2792107 100644 --- a/PunctureTracker/src/puncture_tracker.cc +++ b/PunctureTracker/src/puncture_tracker.cc @@ -301,7 +301,7 @@ extern "C" void PunctureTracker_CheckShift(CCTK_ARGUMENTS) { [=] CCTK_DEVICE(const PointDesc &p) CCTK_ATTRIBUTE_ALWAYS_INLINE { if (maximum(abs(p.X - loc_vec)) <= (1 / pow(2, level))) { - CCTK_VINFO("Shift at level %d near puncture #%d is {%g, %g, %g} at coords {%g, %g, %g}.", level, n, + printf("Shift at level %d near puncture #%d is {%g, %g, %g} at coords {%g, %g, %g}.", level, n, betax_(p.I), betay_(p.I), betaz_(p.I), p.x, p.y, p.z); } });