From 068efb57b3c2c929da5d452bd0267be6ce41e877 Mon Sep 17 00:00:00 2001 From: J Dark Date: Tue, 31 Oct 2023 12:09:30 -0400 Subject: [PATCH] use temperature function space in temperature expr --- festim/hydrogen_transport_problem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/festim/hydrogen_transport_problem.py b/festim/hydrogen_transport_problem.py index 666b17c61..bd48a81fc 100644 --- a/festim/hydrogen_transport_problem.py +++ b/festim/hydrogen_transport_problem.py @@ -218,7 +218,7 @@ def define_temperature(self): # to update the temperature_fenics later self.temperature_expr = fem.Expression( self.temperature(**kwargs), - self.function_space.element.interpolation_points(), + function_space_temperature.element.interpolation_points(), ) self.temperature_fenics.interpolate(self.temperature_expr)