Remove usage of Dune::Function
Description
The object Dune::Function
is being deprecated in dune 2.7. We assume that we get such objects in the dynamic power finite element.
Proposal
Update its usage to lambdas.
How to test the implementation?
Pipeline is still passing
Related issues
See #