aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetReduce/src/mask_allocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetReduce/src/mask_allocate.c')
-rw-r--r--Carpet/CarpetReduce/src/mask_allocate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetReduce/src/mask_allocate.c b/Carpet/CarpetReduce/src/mask_allocate.c
index 1219b7b95..c1c28afeb 100644
--- a/Carpet/CarpetReduce/src/mask_allocate.c
+++ b/Carpet/CarpetReduce/src/mask_allocate.c
@@ -17,4 +17,7 @@ MaskBase_AllocateMask (CCTK_ARGUMENTS)
CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::iweight");
CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::one");
+
+ /* Initialise excised cell count */
+ * excised_cells = 0.0;
}