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.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | f_stencil(:,:) | |||
| real(kind=wp), | intent(out) | :: | f_hat(:) |