fiat icon indicating copy to clipboard operation
fiat copied to clipboard

Don't throw away supporting entities of dofs

Open chrisrichardson opened this issue 9 years ago • 1 comments

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().

chrisrichardson avatar Oct 30 '15 17:10 chrisrichardson

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.

chrisrichardson avatar Jul 26 '16 10:07 chrisrichardson