xcompact3d / x3d2

https://xcompact3d.github.io/x3d2
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Add divergence and gradient #26

Closed semi-h closed 8 months ago

semi-h commented 9 months ago

This PR demonstrates the current capability of the framework pretty well. Both the divergence and gradient operations in Xcompact3D algorithm is now supported in the new framework and this feature is added only by adding two corresponding functions in the solver class. There was no need to add anything special in any of the backends to add this support as they already provide a method that solves a single tridiagonal system.