Incorporating topography into 2D resistivity modeling using finite-element and finite-difference approaches