resolve_cli_namelist Subroutine

public subroutine resolve_cli_namelist(nml_file)

Read the namelist filename from the first command-line argument. Falls back to 'input.nml' when no argument is supplied.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(out) :: nml_file

On return: path to the namelist file.