Implement code generation for matrix inversion in C++
Matrix inversion at code generation time does only work to a very limited extent (up to n=4). We can instead assemble the tensor in C++ and invert it there (e.g. using Dune::FieldMatrix)
Showing
- python/dune/perftool/pdelab/__init__.py 7 additions, 1 deletionpython/dune/perftool/pdelab/__init__.py
- python/dune/perftool/pdelab/tensors.py 40 additions, 0 deletionspython/dune/perftool/pdelab/tensors.py
- python/dune/perftool/ufl/preprocess.py 9 additions, 1 deletionpython/dune/perftool/ufl/preprocess.py
- python/dune/perftool/ufl/visitor.py 3 additions, 0 deletionspython/dune/perftool/ufl/visitor.py
Loading
Please register or sign in to comment