upwind1_reconstruct Subroutine

public pure subroutine upwind1_reconstruct(f_stencil, f_hat)

First-order upwind reconstruction.

Returns the centre element of the stencil, which corresponds to the cell immediately adjacent to the interface for both the left-biased (positive) and right-biased (negative) stencils assembled by spatial_discretization.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: f_stencil(:,:)
real(kind=wp), intent(out) :: f_hat(:)