added delete routine to pressure solver