From 95c17401699757c5ff438de846423c86ebc1366e Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Fri, 26 Jul 2024 17:48:51 +0200 Subject: [PATCH] assign traps id before --- festim/h_transport_problem.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/festim/h_transport_problem.py b/festim/h_transport_problem.py index 57671eabc..7d4c4859f 100644 --- a/festim/h_transport_problem.py +++ b/festim/h_transport_problem.py @@ -85,10 +85,11 @@ def initialise(self, mesh, materials, dt=None): self.mobile.T = self.T self.attribute_flux_boundary_conditions() + self.traps.assign_traps_ids() + # Define functions self.define_function_space(mesh) self.initialise_concentrations() - self.traps.assign_traps_ids() self.traps.make_traps_materials(materials) self.traps.initialise_extrinsic_traps(self.V_CG1)