Adapted to new LinearElasticity interface