If the average size of the total strains in an element exceeds threshold, the element is considered to be totally failed; the element will be deleted. The index specifies the element_group, see element_group.