aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetRegrid')
-rw-r--r--Carpet/CarpetRegrid/src/regrid.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetRegrid/src/regrid.cc b/Carpet/CarpetRegrid/src/regrid.cc
index 5b46f8843..039d2e2a8 100644
--- a/Carpet/CarpetRegrid/src/regrid.cc
+++ b/Carpet/CarpetRegrid/src/regrid.cc
@@ -131,7 +131,7 @@ namespace CarpetRegrid {
// Return if this is not during initial data generation, and if no
// change in the grid structure is desired
if (cctkGH->cctk_iteration != 0) {
- if (keep_same_grid_structure and refinement_levels == reflevels) {
+ if (keep_same_grid_structure and refinement_levels == reflevels && !tracking) {
return 0;
}
}