implemented derivation of gradient weights via rotation
derive gradient weights of other direction with already calculated weights of one direction via rotation and apply them to a field. as_matrix gives now a deprecated warning and as_array is no newly implemented to replace it. as_array works with MutableDenseNDimArray now instead of Matrix
Showing
- pystencils/fd/derivation.py 49 additions, 0 deletionspystencils/fd/derivation.py
- pystencils_tests/test_fd_derivation.ipynb 45 additions, 94 deletionspystencils_tests/test_fd_derivation.ipynb
- pystencils_tests/test_fd_derivation_via_rotation.ipynb 195 additions, 0 deletionspystencils_tests/test_fd_derivation_via_rotation.ipynb
Please register or sign in to comment