Implement possibility of functions that provide their own visitor
This will be needed to replace nonlinearities in Richards code with a cubic spline evaluation without bloating dune-perftool with the implementation details of such procedure. Also provides a test, that defines a custom square function.
Showing
- python/dune/perftool/ufl/visitor.py 16 additions, 0 deletionspython/dune/perftool/ufl/visitor.py
- test/poisson/CMakeLists.txt 6 additions, 0 deletionstest/poisson/CMakeLists.txt
- test/poisson/poisson_customfunction.mini 18 additions, 0 deletionstest/poisson/poisson_customfunction.mini
- test/poisson/poisson_customfunction.ufl 33 additions, 0 deletionstest/poisson/poisson_customfunction.ufl
test/poisson/poisson_customfunction.mini
0 → 100644
test/poisson/poisson_customfunction.ufl
0 → 100644
Please register or sign in to comment