CarpetX
CarpetX copied to clipboard
Extend 'Derivs' to cover 6th and 8th order finite difference
Derivs:
- implement 6th and 8th order accurate central finite difference.
- implement dissipation and upwind derivatives corresponding to 6th and 8th order central finite difference.
TestDerivs:
- implement unit test for all above.
all the coefficients used are calculated here using mathematica https://github.com/lwJi/Docs-Subcycling/blob/main/wolfram/Derivs.ipynb