init_recon_scheme Subroutine

public subroutine init_recon_scheme(state, scheme, char_proj, limiter)

Bind the reconstruction procedure pointers and stencil metadata in @p state to the requested scheme, then resolve state%use_char_proj.

Valid scheme names: 'weno5' — WENO5-JS, width=5 (Jiang & Shu, 1996) [default] 'weno5z' — WENO5-Z, width=5 (Borges et al., 2008) 'weno_cu6' — WENO-CU6, width=6 (Hu, Wang & Adams, 2010) 'weno7' — WENO7-JS, width=7 (Balsara & Shu, 2000) 'weno9' — WENO9-JS, width=9 (Balsara & Shu, 2000) 'weno11' — WENO11-JS, width=11 (Balsara & Shu, 2000) 'eno3' — Classical ENO3, width=5 (Harten et al., 1987) 'muscl' — MUSCL + TVD limiter, width=3 (van Leer, 1979) 'mp5' — Monotonicity-Preserving 5th order, width=5 (Suresh & Huynh, 1997) 'teno5' — Targeted ENO 5th order, width=5 (Fu et al., 2016) 'upwind1' — First-order upwind 'upwind2' — Second-order upwind 'central2' — Second-order central (physical space; smooth problems only)

Valid char_proj values (optional; defaults to 'auto' if absent): 'auto' — use per-scheme default (WENO/ENO/MP5/TENO → on; others → off) 'yes' — always enable characteristic projection 'no' — always disable characteristic projection

                    metadata, and use_char_proj are written.

'minmod' (default), 'superbee', 'mc', 'van_leer', 'koren'. Ignored for non-MUSCL schemes.

Arguments

Type IntentOptional Attributes Name
type(solver_state_t), intent(inout) :: state

Solver instance; reconstruction pointers, stencil

character(len=*), intent(in) :: scheme

Name of the reconstruction scheme.

character(len=*), intent(in), optional :: char_proj

(optional) Characteristic-projection override.

character(len=*), intent(in), optional :: limiter

(optional) TVD limiter for 'muscl'. Valid values: