Copy method 'makeFunction' into namespace Dune::Fufem
The method 'makeFunction' was declared in a namespace 'Functions'. This leads to unfortunate clashes with code from the dune-functions module, in particular when using
using namespace Dune;
This patch introduces a copy of that method in the namespace Dune::Fufem (never mind the copy: the method is very small). It also deprecates the method in the old namespace. That way, code that currently works still does so in the future, but we now have a migration path away from that unfortunate 'Functions' namespace in dune-fufem.
BUG: https://git.imp.fu-berlin.de/agnumpde/dune-fufem/issues/11
Merge request reports
Activity
mentioned in issue #11
added 10 commits
-
cfea2225...f999ab17 - 9 commits from branch
master
- aa192f67 - Copy method 'makeFunction' into namespace Dune::Fufem
-
cfea2225...f999ab17 - 9 commits from branch
@oliver.sander_at_tu-dresden.de I'm unsure. When having a look at how to do a transition towards the dune-functions function interface, I came to the conclusion that this is hardly possible in a compatible way. As a remedy one could make use of the fact that (fortunately) most of dune-fufem is not in
Dune::Fufem
. This allows to deprecate all the old stuff while providing the new cleaned up implementations inDune::Fufem
. This is getting harder if we pull more old stuff intoDune::Fufem
. Maybe we can useDune::Fufem::Old::
for this use case.