Introduce a context that alters options and resets them on exit
A pattern that we have been manually implementing in quite some places!
Showing
- python/dune/codegen/options.py 39 additions, 0 deletionspython/dune/codegen/options.py
- python/dune/codegen/pdelab/localoperator.py 5 additions, 12 deletionspython/dune/codegen/pdelab/localoperator.py
- python/dune/codegen/sumfact/autotune.py 258 additions, 273 deletionspython/dune/codegen/sumfact/autotune.py
- python/dune/codegen/sumfact/geometry.py 7 additions, 2 deletionspython/dune/codegen/sumfact/geometry.py
- python/dune/codegen/sumfact/switch.py 7 additions, 16 deletionspython/dune/codegen/sumfact/switch.py
- python/dune/codegen/sumfact/vectorization.py 11 additions, 12 deletionspython/dune/codegen/sumfact/vectorization.py
This diff is collapsed.
Please register or sign in to comment