fiat
fiat copied to clipboard
Don't throw away supporting entities of dofs
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 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
.
Implement FiniteElement.support_entity_dofs()
.