.PDE.MOL.SpaceDerivative.Derivatives

Information

The Derivatives package contains blocks for the computation of the derivatives with respect to space.
The derivative computation is based on Newton-Gregory backward polynomials

where xn is the last grid point, s = (x-xn)/h and h = xi+1 - xi (for i = 0,..., n-1).
By using this polynomial we can compute the first and second space derivatives, that are implemented in the
respective blocks. To compute for example the first derivative we must do

where h = xi+1 - xi (for i = 0,..., n-1). We assume here that the grid points are spaced equally.

Release Notes: