1. A method for assessing the quality of a process model, the method comprising: receiving a mask layout; receiving a process model which models the effects of one or more semiconductor manufacturing processes on the mask layout; computing a gradient of the process model with respect to a process model parameter; computing a quality indicator at an evaluation point in the mask layout using the gradient of the process model and the mask layout; and assessing the quality of the process model using the quality indicator.