Nodal slab at k = klo on the 2D footprint of every box of z_nd, so that boxes that do not touch the surface (a BoxArray split in z, a refined level that stops above the ground) still hold the surface nodes once fill_surface_nodes has run.
26 BoxList bl_surf = z_nd.boxArray().boxList();
27 for (
auto& b : bl_surf) { b.setRange(2,
klo); }
28 BoxArray ba_surf(std::move(bl_surf));
29 IntVect ng_surf = z_nd.nGrowVect(); ng_surf[2] = 0;
30 return MultiFab(ba_surf, z_nd.DistributionMap(), 1, ng_surf);
const int klo
Definition: ERF_InitCustomPert_KE.H:9