openLogFile Subroutine

public subroutine openLogFile(filename, plogUnit, isNewFile)

openLogFile opens a file with name fileName and returns the unit attached to it. It checks whether the file exists and if not

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(inout) :: filename
integer, intent(out) :: plogUnit
logical, intent(out), optional :: isNewFile