SUBROUTINE user_header( io ) !------------------------------------------------------------------------------! ! Current revisions: ! ----------------- ! ! ! Former revisions: ! ----------------- ! $Id: user_header.f90 484 2010-02-05 07:36:54Z maronga $ ! ! 256 2009-03-08 08:56:27Z letzel ! new topography case 'single_street_canyon' ! topography_grid_convention moved to header ! ! 2008-12-09 18:00:48Z letzel ! +topography_grid_convention ! Former file user_interface.f90 split into one file per subroutine ! ! Description: ! ------------ ! Print a header with user-defined informations. !------------------------------------------------------------------------------! USE control_parameters USE statistics USE user IMPLICIT NONE INTEGER :: i, io ! !-- If no user-defined variables are read from the namelist-file, no !-- informations will be printed. IF ( .NOT. user_defined_namelist_found ) THEN WRITE ( io, 100 ) RETURN ENDIF ! !-- Printing the informations. WRITE ( io, 110 ) IF ( statistic_regions /= 0 ) THEN WRITE ( io, 200 ) DO i = 0, statistic_regions WRITE ( io, 201 ) i, region(i) ENDDO ENDIF ! !-- Format-descriptors 100 FORMAT (//' *** no user-defined variables found'/) 110 FORMAT (//1X,78('#') & //' User-defined variables and actions:'/ & ' -----------------------------------'//) 200 FORMAT (' Output of profiles and time series for following regions:' /) 201 FORMAT (4X,'Region ',I1,': ',A) END SUBROUTINE user_header