apply_bcs Subroutine

public subroutine apply_bcs(state)

Method dispatcher for boundary-condition enforcement.

Reads the (single) block's discretization method and routes to the matching per-method kernel. The public signature is unchanged, so all existing callers (spatial_discretization::compute_resid) keep working irrespective of the active method. FDM is the default; the FDM path is byte-identical to the historical single-path implementation (the dispatcher adds only a select-case over a small character token).

Arguments

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

Solver instance state.