Define concept of `FunctionSpace` for mixed topology
Open
proposal
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 261
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 65
Description
When a mesh contains multiple cell types (e.g. triangle + quadrilateral), we need to be able to define a `FunctionSpace` on that mesh, so we can add `Forms`.
Currently, a `FunctionSpace` encapsulates: `[Mesh, FiniteElement, DofMap]`. I suggest we could change it to: `[Mesh, [FiniteElements], [DofMaps]]` where `[FiniteElements]` and `[DofMaps]` are lists which must be the same size as the number of cell types in the mesh.
Contributor guide
Assessment
This issue has not been assessed yet.