compute stresses only when postprocessing