Implement Linear Algebra Conversion Methods for VolumeDoFFunction
The conversion of a VolumeDoFFunction
to a vector and vice versa does not require understanding of the meaning of the DoFs. If one wants to use a VolumeDoFFunction
as building block inside another FE function implementation it will be helpful, if the former provides the
toVector()
fromVector()
methods. This MR implements this. In order to avoid code duplication and demonstrate that this works it also makes DGFunction
delegate the conversion to the underlying VolumeDoFFunction
and removes its own implementation.