Skip to content

Commit

Permalink
Add missing type handler in apply_restrictions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Sandve Alnæs committed Oct 18, 2016
1 parent 34968e4 commit 0b2d04f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ufl/algorithms/apply_restrictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def facet_normal(self, o):
return self._require_restriction(o)

# Although the physical normal can be flipped when moving from +
# to - in some circumstances, the reference normal cannot.
# to -, the reference normal cannot
reference_normal = _require_restriction

# Defaults for geometric quantities
Expand Down Expand Up @@ -178,6 +178,7 @@ def facet_normal(self, o):
cell_edge_vectors = _require_restriction # ...

reference_cell_volume = _ignore_restriction # FIXME: needs changing for mixed cell meshes
reference_facet_volume = _ignore_restriction # FIXME: needs changing for mixed cell meshes

cell_normal = _require_restriction # Property of cell

Expand Down

0 comments on commit 0b2d04f

Please sign in to comment.