Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | task | |||
character(len=*), | intent(in) | :: | key | |||
character(len=*), | intent(in) | :: | comment |
subroutine parameters_gyro_write_task(task, key, comment)
use w90_io, only: stdout
character(len=*), intent(in) :: task, key, comment
character(len=42) :: comment1
comment1 = comment
if ((index(task, key) > 0) .or. (index(task, 'all') > 0)) then
write (stdout, '(1x,a2,a42,a2,10x,a8,13x,a1)') '| ', comment1, ' :', ' T', '|'
else
write (stdout, '(1x,a2,a42,a2,10x,a8,13x,a1)') '| ', comment1, ' :', ' F', '|'
endif
end subroutine parameters_gyro_write_task