Skip to main content
3 of 3
edited title
xzczd
  • 71.6k
  • 10
  • 183
  • 524

2D differentiation matrix

NDSolve`FiniteDifferenceDerivative is a very helpful function to calculate numerical derivatives. It is explained in the tutorial The Numerical Method of Lines in more detail.

Here I found the reference BENGT FORNBERG:CALCULATION OF WEIGHTS IN FINITE DIFFERENCE FORMULAS which explains how the weights are to be calculated in the one dimensional case.

I couldn't find a similar reference for the two dimensional case.

My question:

  • How is the differentiation matrix evaluated in this case, especially at boundary meshpoints?
  • Are there additional helpful references in the Mathematica documentation?

Thanks!

Ulrich Neumann
  • 61.8k
  • 2
  • 30
  • 66