Skip to content

Commit

Permalink
name
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Apr 11, 2024
1 parent 9afbfd4 commit 219240f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firedrake/tsfc_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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()
)
Expand Down

0 comments on commit 219240f

Please sign in to comment.