BZIXJKSVJVIFMYLNKQMNCCOEAEF44CJHCBRD6FYYQGFODQYINIRQC
}
void TestProlongate_Regrid(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
if(cctk_iteration < 1)
return;
printf("Setting grid\n");
Loop::loop_int<1, 1, 1>(cctkGH, [&](const Loop::PointDesc &p) {
if(p.x > -0.5 && p.x < 0.5 &&
p.y > -0.5 && p.y < 0.5 &&
p.z > -0.5 && p.z < 0.5) {
fprintf(stderr,"Setting error %g %g %g\n", p.x, p.y, p.z);
regrid_error[p.idx] = 1e3;
} else {
regrid_error[p.idx] = 0.;
}
});
fprintf(stderr, "done\n");