Fix bug when using DM_BOUNDARY_MIRROR with DMDA in 3d with local to global mapping.
Also add error checking that mirrored value local in 2d and 3d
Reported-by: Gourav Kumbhojkar <gourav.kumbhojkar@gmail.com>
Also add error checking that mirrored value local in 2d and 3d
Reported-by: Gourav Kumbhojkar <gourav.kumbhojkar@gmail.com>