Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Dec 20, 2024
1 parent 86c377d commit df05d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsfc/kernel_interface/firedrake_loopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def set_entity_numbers(self, domains):
integral_type = self.integral_data_info.domain_integral_type_map[domain]
if integral_type in ['exterior_facet', 'exterior_facet_vert']:
facet = gem.Variable(f'facet_{i}', (1,), dtype=gem.uint_type)
self._entity_numbers[domain] = {None: gem.VariableIndex(gem.Indexed(facet, (0,))),}
self._entity_numbers[domain] = {None: gem.VariableIndex(gem.Indexed(facet, (0,))), }
elif integral_type in ['interior_facet', 'interior_facet_vert']:
facet = gem.Variable(f'facet_{i}', (2,), dtype=gem.uint_type)
self._entity_numbers[domain] = {
Expand All @@ -335,7 +335,7 @@ def set_entity_orientations(self, domains):
integral_type = self.integral_data_info.domain_integral_type_map[domain]
if integral_type in ['exterior_facet', 'exterior_facet_vert']:
facet_orientation = gem.Variable(f'facet_orientation_{i}', (1,), dtype=gem.uint_type)
self._entity_orientations[domain] = {None: gem.OrientationVariableIndex(gem.Indexed(facet_orientation, (0,))),}
self._entity_orientations[domain] = {None: gem.OrientationVariableIndex(gem.Indexed(facet_orientation, (0,))), }
elif integral_type in ['interior_facet', 'interior_facet_vert']:
facet_orientation = gem.Variable(f'facet_orientation_{i}', (2,), dtype=gem.uint_type)
self._entity_orientations[domain] = {
Expand Down

0 comments on commit df05d92

Please sign in to comment.