Consider redesigning the finite element classes to one or two classes

Issue #15 invalid
Martin Sandve Alnæs created an issue

RestrictedElement should perhaps be a property of the element, because sub_elements can be seen as ambiguous.

Vector and Tensor elements should perhaps be joined with Mixed elements.

Maybe everything should be part of one class. That would simplify testing and integration with PyDOLFIN.

All of this is loose thoughts, not well thought through.

An eventual redesign should be considered together with or after eventual subdomain modeling features.

From the user side, the syntax of today should be possible for backwards compatibility.

(This is pretty old, and since then even more element types have been added, so an eventual redesign would have to consider everything)

Comments (1)

  1. Log in to comment