diff --git a/src/irrevolutions/models/__init__.py b/src/irrevolutions/models/__init__.py index b756fa0..696a2a6 100644 --- a/src/irrevolutions/models/__init__.py +++ b/src/irrevolutions/models/__init__.py @@ -233,7 +233,7 @@ def elastic_energy_density(self, state): eps, alpha ) + self.elastic_foundation_density(u) - def stress(self, strain, alpha): + def stress_average(self, strain, alpha): from dolfinx.fem import assemble_scalar, form from numpy import ndarray