Consistent design
- [X] The definition of finite element spaces is currently inconsistent.
While the `FunctionSpace` class has a parameter `family`, there are also various other function spaces implemented as separate classes.
We should decide on one design. (terraneo/hyteg-form-generator!41)
- [ ] Some forms are implemented as one function to rule them all.
They check which function space is passed as parameter and do the appropriate thing.
Other forms have distinct functions for different FE spaces.
The distinction of forms and vectorial forms also plays a role here.
- [X] (Maybe a different but related issue) The C++ class name is hard-coded in the form template.
For instance `P` for Lagrangian, `N1E` for Nedelec spaces.
Shouldn't this be an attribute of the FE space class (Python)?
Even worse, the name is hard-coded in the generate all script, too. (terraneo/hyteg-form-generator!41)
issue