1. A computer-implemented method comprising: selecting a shape included in a layout file corresponding to an integrated circuit; selecting a first contact and a second contact located on the shape; computing an adjoint system vector based upon a perturbed boundary of the shape; computing a resistance sensitivity between the first contact and the second contact using the adjoint system vector; and simulating the integrated circuit using the computed resistance sensitivity.