Print report heading.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout) | :: | head |
Variable designating whether the heading is to be printed ( |
||
integer, | intent(in) | :: | lunit |
Logical unit number to which the heading is written. |
impure subroutine print_header(head, lunit) !! Print report heading. logical, intent(inout) :: head !! Variable designating whether the heading is to be printed (`.true.`) or not (`.false.`). integer, intent(in) :: lunit !! Logical unit number to which the heading is written. if (head) then write (lunit, 1000) head = .false. end if ! Format statements 1000 format( & ' ****************************************************************************** '/ & ' * ODRPACK REPORT * '/ & ' ****************************************************************************** '/ & ) end subroutine print_header