solver_session_prepare_inline Subroutine

public subroutine solver_session_prepare_inline(session, dim, case_dir)

Prepare a session to receive a LOAD_CONFIG_INLINE config: discard any live runtime, fix the problem dimension, and record the case directory that anchors relative file paths (inline configs carry no namelist path to derive it from). Must be called BEFORE applying the config entries so the dim-aware SET_* setters target the correct 1D/2D config. Collective-safe: every rank passes the same decoded dim/case_dir.

Arguments

Type IntentOptional Attributes Name
type(solver_session_t), intent(inout) :: session
integer, intent(in) :: dim
character(len=*), intent(in), optional :: case_dir