Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorBaratta committed Dec 28, 2023
1 parent 39e7f5d commit 3e5442f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ffcx/codegeneration/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,6 @@ def domain_dof_access(self, dof, component, gdim, num_scalar_dofs, restriction):
offset = num_scalar_dofs * 3
return self.coordinate_dofs[3 * dof + component + offset]

def domain_dofs_access(self, gdim, num_scalar_dofs, restriction):
# FIXME: Add domain number or offset!
return [
self.domain_dof_access(dof, component, gdim, num_scalar_dofs, restriction)
for dof in range(num_scalar_dofs) for component in range(gdim)
]

def coefficient_dof_access(self, coefficient, dof_index):
offset = self.coefficient_offsets[coefficient]
w = self.coefficients
Expand Down

0 comments on commit 3e5442f

Please sign in to comment.