Skip to content

Commit

Permalink
use temperature function space in temperature expr
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Oct 31, 2023
1 parent 7227150 commit 068efb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion festim/hydrogen_transport_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 068efb5

Please sign in to comment.