Skip to content

Commit

Permalink
Merge pull request #178 from firedrakeproject/fix/facet-avg
Browse files Browse the repository at this point in the history
* fix/facet-avg:
  Perhaps fix translation of facet_avg
  • Loading branch information
wence- committed Nov 14, 2018
2 parents 28860e6 + ac575ed commit 3e8f358
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsfc/fem.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ def facet_avg(self, o):
integrand, degree, argument_multiindices = entity_avg(integrand / CellVolume(domain), measure, self.context.argument_multiindices)

config = {name: getattr(self.context, name)
for name in ["ufl_cell", "precision", "index_cache"]}
for name in ["ufl_cell", "precision", "index_cache",
"integration_dim", "entity_ids"]}
config.update(quadrature_degree=degree, interface=self.context,
argument_multiindices=argument_multiindices)
expr, = compile_ufl(integrand, point_sum=True, **config)
Expand Down

0 comments on commit 3e8f358

Please sign in to comment.