Changeset cb47b9c for utilities.f


Ignore:
Timestamp:
11/19/09 11:29:16 (14 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
2d5d396
Parents:
ffd2d46
Message:

Explicitly declare variables.

All variables should be declared so that we can remove the implicit statements
from the beginning of the INCL.H file.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/smmp/trunk@25 26dc1dd8-5c4e-0410-9ffe-d298b4865968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utilities.f

    rffd2d46 rcb47b9c  
    168168!     End fileNameMP
    169169
     170
     171!----------------------------------------------------------------------
     172!     Add messages to log. This routine takes the log (debugging) mes-
     173!     sages and writes them to the log file if the log level is less or
     174!     equal to the maximum log level given by the global variable
     175!     MAXLOGLEVEL.
     176!
     177!     @author Jan H. Meinke
     178!
     179!     @param loglevel level at which this message should be added to
     180!            the log.
     181!     @param message message to be written to the log.
     182!     @param rank global rank of this node if running an MPI job zero
     183!            otherwise.
     184!----------------------------------------------------------------------
     185      subroutine addLogMessage(loglevel, message, rank)
     186     
     187         integer :: loglevel, rank
     188         character(LEN=*) :: message
     189         
     190         if (loglevel <= MAXLOGLEVEL) then
     191            write(LOGFILEUNIT, *) message
     192         end if
     193         
     194      end subroutine addLogMessage
Note: See TracChangeset for help on using the changeset viewer.