Skip to content

Commit 9c0f924

Browse files
committed
remove global support dofs, they are not used
1 parent 23fb328 commit 9c0f924

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ffcx/ir/representation.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def _compute_integral_ir(
387387
# Used to compute the shape of the locally assembled tensor, as well the
388388
# coefficient offset
389389
element_dimensions = {
390-
element: element.dim + element.num_global_support_dofs for element in unique_elements
390+
element: element.dim for element in unique_elements
391391
}
392392

393393
# Create dimensions of primary indices, needed to reset the argument
@@ -604,8 +604,7 @@ def _compute_expression_ir(
604604
# Prepare dimensions of all unique element in expression, including
605605
# elements for arguments, coefficients and coordinate mappings
606606
element_dimensions = {
607-
element: element.dim + element.num_global_support_dofs
608-
for element in analysis.unique_elements
607+
element: element.dim for element in analysis.unique_elements
609608
}
610609

611610
# Extract dimensions for elements of arguments only

0 commit comments

Comments
 (0)