Read this module's parameters from a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | files(:) |
subroutine rh_read_params(files) use mod_global_parameters character(len=*), intent(in) :: files(:) integer :: n namelist /rh_list/ periods, variation, ntimes, nwaves, si, & vlim1, vlim2, vlim3, trelax, tramp do n = 1, size(files) open(unitpar, file=trim(files(n)), status="old") read(unitpar, rh_list, end=111) 111 close(unitpar) end do end subroutine rh_read_params