mod_decorations¶
Dependencies¶
Procedures Summary¶
| Name | Type | Description |
|---|---|---|
write_separator |
Subroutine | Print a separator line of length OUTPUT_LENGTH to STDOUT. |
write_heading |
Subroutine | Write a separator line including a centered heading to STDOUT. |
progress_bar |
Subroutine | More a play toy than tool... Implementation of a progress bar author: Gunnar Schmitz |
Procedure Details¶
subroutine write_separator¶
subroutine write_separator( &
no_blank_line, &
line_length &
)
Print a separator line of length OUTPUT_LENGTH to STDOUT.
Arguments
-
no_blank_line: logical [in]– If True, do not prepend a blank line before the header line. -
line_length: integer [in]– The total length of the heading line. Default is `OUTPUT_LENGTH`.
Called By
subroutine write_heading¶
subroutine write_heading( &
heading, &
no_blank_line, &
line_length &
)
Write a separator line including a centered heading to STDOUT.
Arguments
-
heading: character [in]– The heading to be centered. Should not be longer than ~40 characters. -
no_blank_line: logical [in]– If True, do not prepend a blank line before the header line. -
line_length: integer [in]– The total length of the heading line. Default is `OUTPUT_LENGTH`.
Called By
subroutine progress_bar¶
subroutine progress_bar( &
iteration, &
maximum &
)
More a play toy than tool... Implementation of a progress bar author: Gunnar Schmitz
Arguments
-
iteration: integer [in]– iteration number -
maximum: integer [in]– total iterations