Ignore:
Timestamp:
Mar 5, 2014, 2:19:12 PM (11 years ago)
Author:
lguez
Message:

Converted to free source form files in libf/phylmd which were still in
fixed source form. The conversion was done using the polish mode of
the NAG Fortran Compiler.

In addition to converting to free source form, the processing of the
files also:

-- indented the code (including comments);

-- set Fortran keywords to uppercase, and set all other identifiers
to lower case;

-- added qualifiers to end statements (for example "end subroutine
conflx", instead of "end");

-- changed the terminating statements of all DO loops so that each
loop ends with an ENDDO statement (instead of a labeled continue).

-- replaced #include by include.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cv3_mixscale.F90

    r1988 r1992  
    1         SUBROUTINE cv3_mixscale(nloc,ncum,na,ment,m)
    2 ***************************************************************
    3 *                                                             *
    4 * CV3_MIXSCALE                                                *
    5 *                                                             *
    6 *                                                             *
    7 * written by   : Jean-Yves Grandpeix, 30/05/2003, 16.34.37    *
    8 * modified by :                                               *
    9 ***************************************************************
    10 *
    11       implicit none
     1SUBROUTINE cv3_mixscale(nloc, ncum, na, ment, m)
     2  ! **************************************************************
     3  ! *
     4  ! CV3_MIXSCALE                                                *
     5  ! *
     6  ! *
     7  ! written by   : Jean-Yves Grandpeix, 30/05/2003, 16.34.37    *
     8  ! modified by :                                               *
     9  ! **************************************************************
    1210
    13 #include "cv3param.h"
     11  IMPLICIT NONE
    1412
    15       integer nloc,ncum,na
    16       integer i,j,il
    17       real ment(nloc,na,na),m(nloc,na)
    18 c
    19       do 100 j=1,nl
    20         do 101 i=1,nl
    21           do 102 il=1,ncum
    22              ment(il,i,j) = m(il,i)*ment(il,i,j)
    23 102      continue
    24 101    continue
    25 100   continue
     13  include "cv3param.h"
    2614
    27 c
    28       return
    29       end
     15  INTEGER nloc, ncum, na
     16  INTEGER i, j, il
     17  REAL ment(nloc, na, na), m(nloc, na)
     18
     19  DO j = 1, nl
     20    DO i = 1, nl
     21      DO il = 1, ncum
     22        ment(il, i, j) = m(il, i)*ment(il, i, j)
     23      END DO
     24    END DO
     25  END DO
     26
     27
     28  RETURN
     29END SUBROUTINE cv3_mixscale
Note: See TracChangeset for help on using the changeset viewer.