From ab4fde12c6bbe1cd2e1cc7d13bc37ed11e491bac Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sun, 27 May 2007 19:11:00 +0000 Subject: CarpetRegrid2: More output when parameter verbose is set Output the location of the centres of the refined regions when they change. darcs-hash:20070527191139-dae7b-16394354ba0ffc6bb9414666546eaa23529db092.gz --- Carpet/CarpetRegrid2/src/initialise.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Carpet/CarpetRegrid2/src/initialise.cc') diff --git a/Carpet/CarpetRegrid2/src/initialise.cc b/Carpet/CarpetRegrid2/src/initialise.cc index 79c20d054..8d1a32ce4 100644 --- a/Carpet/CarpetRegrid2/src/initialise.cc +++ b/Carpet/CarpetRegrid2/src/initialise.cc @@ -140,6 +140,17 @@ namespace CarpetRegrid2 { old_position_y[n] = position_y[n]; old_position_z[n] = position_z[n]; } + + if (verbose) { + for (int n = 0; n < num_centres; ++ n) { + CCTK_VInfo (CCTK_THORNSTRING, + "Initialising position of centre %d to [%g,%g,%g]", + n, + static_cast (position_x[n]), + static_cast (position_y[n]), + static_cast (position_z[n])); + } + } } } // namespace CarpetRegrid2 -- cgit v1.2.3