weno Interface

public interface weno

Module Procedures

private pure function weno_init(ncells, k, eps, xedges) result(self)

Initialize weno object.

Note

If the grid is not uniform, the user must supply the edges of the grid.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncells

number of cells

integer, intent(in), optional :: k

(2k - 1) is the order of reconstruction within the cell (1 <= k <= 3). By default, k = 3, i.e. 5th order reconstruction.

real(kind=rk), intent(in), optional :: eps

numerical smoothing factor (default=1e-6)

real(kind=rk), intent(in), optional :: xedges(0:)

vector(0:ncells) of cell edges; xedges(i) is the value of x at the right boundary of cell i, ; xedges(i-1) is the value of x at the left boundary of cell i, .

Return Value type(weno)