BBUXGUGVTYMZXMDU2KTRUCACCBWTRFVVVMJUJFCQJPDVFU3DH53QC
for (int k = 0; k < cctk_lsh[2]; ++k) {
for (int j = 0; j < cctk_lsh[1]; ++j) {
#pragma omp simd
for (int i = 0; i < cctk_lsh[0]; ++i) {
const int idx = CCTK_GFINDEX3D(cctkGH, i, j, k);
regrid_error[idx] = 0;
}
}
}
Loop::loop_all<1, 1, 1>(
cctkGH, [&](const Loop::PointDesc &p) { regrid_error[p.idx] = 0; });
for (int k = 0; k < cctk_lsh[2]; ++k) {
for (int j = 0; j < cctk_lsh[1]; ++j) {
#pragma omp simd
for (int i = 0; i < cctk_lsh[0]; ++i) {
const int idx = CCTK_GFINDEX3D(cctkGH, i, j, k);
refinement_level[idx] = lev;
}
}
}
Loop::loop_all<1, 1, 1>(
cctkGH, [&](const Loop::PointDesc &p) { refinement_level[p.idx] = lev; });