Interface for calling initialization subroutines
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
subroutine initialize_korc_parameters(params)
!! @note Interface for calling initialization subroutines @endnote
TYPE(KORC_PARAMS), INTENT(INOUT) :: params
!! Core KORC simulation parameters.
INTEGER :: mpierr
!! MPI error status.
call MPI_BARRIER(MPI_COMM_WORLD,mpierr)
call read_namelist(params,params%path_to_inputs,.true.,params%path_to_outputs)
call MPI_BARRIER(MPI_COMM_WORLD,mpierr)
call load_korc_params(params)
call MPI_BARRIER(MPI_COMM_WORLD,mpierr)
end subroutine initialize_korc_parameters