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).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_t), | intent(inout) | :: | state |
Solver instance state. |