[skip ci] Improve sumfact kernel interface
Introduce different methods for realize_input/output realize_direct_input/output and setup_input/output. The setup methods cover code generation outside the sumfact kernel function (creating input array or accumulating result). realize and realize_direct handle the input/output in the nonfastdg and fastdg code branch. Seperate interface methods make it a lot easier to find out where each of those methods will be applied. Besides that most interface classes need to provide more that two of those methods anyway...
Showing
- python/dune/codegen/sumfact/accumulation.py 22 additions, 19 deletionspython/dune/codegen/sumfact/accumulation.py
- python/dune/codegen/sumfact/basis.py 18 additions, 18 deletionspython/dune/codegen/sumfact/basis.py
- python/dune/codegen/sumfact/geometry.py 1 addition, 1 deletionpython/dune/codegen/sumfact/geometry.py
- python/dune/codegen/sumfact/realization.py 13 additions, 28 deletionspython/dune/codegen/sumfact/realization.py
- python/dune/codegen/sumfact/symbolic.py 95 additions, 60 deletionspython/dune/codegen/sumfact/symbolic.py
Loading
Please register or sign in to comment