Skip to content

Forbid to compute the stress for potential-only xc functionals

When the xc functional is not an energy functional, we are not able to compute the stress tensor, so we should stop the code in this case.