Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in), | optional | :: | acctype |
logical function accumulation_type_is_valid(acctype) result(lval) character(len=*), optional, intent(in) :: acctype lval = .FALSE. if(.not. present(acctype)) return lval = any(ACCUMULATION_TYPES == acctype) end function accumulation_type_is_valid