dune-fem Capabilities and grid specific specializations.
While making P4estGrid work with dune-fem I realized that making a new grid available in dune-fem is not as easy as it should be, mainly because the necessary specialization that need to be carried out are spread over multiple files, e.g.
In dune/fem/misc:
- griddeclaration.hh
- griddeclaration.hh
- gridobjectstreams.hh
- boundaryidprovider.hh
Then there are further capabilities for gridparts and discrete spaces.
We should try to reduce the usage of those since it is complicated to extend.
Some of the specializations could be avoided by, for example, checking if a certain method was implemented, like intersection.impl().boundaryId()
.
Edited by Robert K