From 219240ff0f490e461999f56bc96aa1bb9b848f82 Mon Sep 17 00:00:00 2001 From: ksagiyam Date: Thu, 11 Apr 2024 10:42:12 +0100 Subject: [PATCH] name --- firedrake/tsfc_interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firedrake/tsfc_interface.py b/firedrake/tsfc_interface.py index 5b3249248f..f3a38ad5fc 100644 --- a/firedrake/tsfc_interface.py +++ b/firedrake/tsfc_interface.py @@ -238,7 +238,7 @@ def compile_form(form, name, parameters=None, split=True, dont_split=None, diago kernels = [] numbering = form.terminal_numbering() - all_meshes_in_form = extract_domains(form) + all_meshes = extract_domains(form) if split: iterable = split_form(form, diagonal=diagonal) else: @@ -256,8 +256,8 @@ def compile_form(form, name, parameters=None, split=True, dont_split=None, diago continue # Map local domain/coefficient/constant numbers (as seen inside the # compiler) to the global coefficient/constant numbers - all_meshes_in_subform = extract_domains(f) - domain_number_map = tuple(all_meshes_in_form.index(m) for m in all_meshes_in_subform) + meshes = extract_domains(f) + domain_number_map = tuple(all_meshes.index(m) for m in meshes) coefficient_numbers = tuple( numbering[c] for c in f.coefficients() )