From 4f36e55f9a6f5e3355adc7e371488db1c50f7dc6 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Wed, 18 Oct 2023 12:53:49 -0400 Subject: [PATCH] proper method --- 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 b54cea8ee..b91fe89b0 100644 --- a/festim/hydrogen_transport_problem.py +++ b/festim/hydrogen_transport_problem.py @@ -305,7 +305,7 @@ def run(self, final_time: float): for export in self.exports: if isinstance(export, F.VTXExport): - export.writer.write(float(self.t)) + export.write(float(self.t)) # update previous solution self.u_n.x.array[:] = self.u.x.array[:]