input_unit_exist Function

function input_unit_exist(nml, exist)

This function checks whether a unit number exists. It is taken from the AstroGK code.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: nml

Namelist identifier.

logical, intent(out) :: exist

Flags whether input unit exists.

Return Value integer

Unit number.