Information about supporting entities of dofs is thrown away in some subclasses of FiniteElement, e.g. DiscontinuousLagrange. The information is readily available - support entities of DiscontinuousLagrange are the same as Lagrange.entity_dofs() - but just thrown away.
The information is then needed to be recovered with hacks like FiniteElement.facet_support_dofs() and dolfin::DirichletBC::compute_bc_geometric.
Original comment by Lawrence Mitchell (Bitbucket: wence, GitHub: wence).
I note that the Strang-Fix scheme (the canonical one) is a symmetric quadrature rule, whereas the four-point collapsed quadrature is non-symmetric. This may or may not be an issue.
Original report by Jan Blechta (Bitbucket: blechta, GitHub: blechta).
Information about supporting entities of dofs is thrown away in some subclasses of
FiniteElement
, e.g.DiscontinuousLagrange
. The information is readily available - support entities ofDiscontinuousLagrange
are the same asLagrange.entity_dofs()
- but just thrown away.The information is then needed to be recovered with hacks like
FiniteElement.facet_support_dofs()
anddolfin::DirichletBC::compute_bc_geometric
.Implement
FiniteElement.support_entity_dofs()
.