DerivativesOrder
DerivativesOrder
Section Mesh::Derivatives
Type integer
Default 4
This variable gives the discretization order for the approximation of
the differential operators. This means, basically, that
DerivativesOrder points are used in each positive/negative
spatial direction, e.g. DerivativesOrder = 1 would give
the well-known three-point formula in 1D.
The number of points actually used for the Laplacian
depends on the stencil used. Let = DerivativesOrder, and = Dimensions.
- stencil_star:
- stencil_cube:
- stencil_starplus: with n being 8 in 2D and 24 in 3D.