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 $O$ = DerivativesOrder, and $d$ = Dimensions.
- stencil_star: $2 O d + 1$
- stencil_cube: $(2 O + 1)^d$
- stencil_starplus: $2 O d + 1 + n$ with n being 8 in 2D and 24 in 3D.
Decides what kind of stencil is used, i.e. which points, around each point in the mesh, are the neighboring points used in the expression of the differential operator.
If curvilinear coordinates are to be used, then only the stencil_starplus
or the stencil_cube may be used. We only recommend the stencil_starplus,
since the cube typically needs far too much memory.
A star around each point (i.e., only points on the axis).
Same as the star, but with coefficients built in a different way.
A cube of points around each point.
The star, plus a number of off-axis points.
The general star. Default for non-orthogonal grids.
This variable gives the discretization order for the approximation of the differential operators on the different levels of the multigrid. For more details, see the variable DerivativesOrder.