ER6QNVNNYMJOPQ3UH3KONKGUIYLCPCR5AIAYD6BVKV43TDU6ZBUQC
imin[d] = max(tmin[d], ghost_offset);
imax[d] = min(tmax[d] + (tmax[d] >= lsh[d] ? offset[d] : 0),
lsh[d] + offset[d] - ghost_offset);
imin[d] = std::max(tmin[d], ghost_offset);
imax[d] = std::min(tmax[d] + (tmax[d] >= lsh[d] ? offset[d] : 0),
lsh[d] + offset[d] - ghost_offset);
imin[d] = max(tmin[d], nghostzones[d]);
imax[d] = min(tmax[d] + (tmax[d] >= lsh[d] ? offset[d] : 0),
lsh[d] + offset[d] - nghostzones[d]);
imin[d] = std::max(tmin[d], nghostzones[d]);
imax[d] = std::min(tmax[d] + (tmax[d] >= lsh[d] ? offset[d] : 0),
lsh[d] + offset[d] - nghostzones[d]);