#include #include #include void MaskBase_AllocateMask (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; /* Allocate helpers for the weight function */ if (verbose) { CCTK_INFO ("Allocating weight function helpers"); } CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::iweight"); CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::one"); /* Initialise excised cell count */ * excised_cells = 0.0; }