pencil.math.derivatives.der_4th_order_w_ghosts
4th Order derivatives. Currently only equidistant grids are supported.
Functions
|
xder3_4th(f, dx) |
|
yder3_4th(f, dy) |
|
zder3_4th(f, dz) |
Module Contents
- pencil.math.derivatives.der_4th_order_w_ghosts.xder3_4th(f, dx)
xder3_4th(f, dx)
Compute the 3rd order derivative, 4th order accurate in x.
- Parameters:
f (ndarray) – Array for which to compute the derivative.
dx (float) – Grid-spacing in x.