Ignore:
Timestamp:
Apr 26, 2025, 8:20:13 PM (7 weeks ago)
Author:
emillour
Message:

Mars PCM:
Code tidying: put routines in modules, remove useless "return" statements, etc.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/orosetup.F90

    r2651 r3739  
     1MODULE orosetup_mod
     2
     3IMPLICIT NONE
     4
     5CONTAINS
     6
    17SUBROUTINE OROSETUP( ngrid, nlayer, ktest, pplev, pplay, pu, pv, pt, zgeom, &
    28            pvar,pthe, pgam,                                       &
     
    113119! 1. INITIALIZATION
    114120!--------------------------------------------------------------------------------
    115 ! 100  CONTINUE  ! continue tag without source, maybe need delete in future
    116121
    117122      !* 1.1 COMPUTATIONAL CONSTANTS
    118123      kidia=1
    119124      kfdia=ngrid
    120 ! 110  CONTINUE  ! continue tag without source, maybe need delete in future
    121125      ILEVM1=nlayer-1
    122126      ILEVM2=nlayer-2
     
    129133! 2. Compute all the critical levels and the coeffecients of anisotropy
    130134!-----------------------------------------------------------------------------------------------------
    131 ! 200  CONTINUE ! continue tag without source, maybe need delete in future
     135
    132136      ! 2.1 Define low level wind, project winds in plane of low level wind,
    133137      ! determine sector in which to take the variance and set indicator for critical levels.
     
    209213      enddo     
    210214
    211 ! 210  CONTINUE ! continue tag without source, maybe need delete in future
    212215      ! Initialize various arrays for the following computes
    213216      DO JL=kidia,kfdia
     
    329332
    330333      ! 2.2 Brunt-vaisala frequency and density at half levels
    331  220  CONTINUE ! continue tag without source, maybe need delete in future
    332334 
    333335      DO JK=ilevh,nlayer
     
    366368
    367369      ! 2.3 Mean flow richardson number and critical height for proude layer   
    368 ! 230  CONTINUE ! continue tag without source, maybe need delete in future
    369370
    370371      DO JK=2,nlayer
     
    471472      end DO
    472473
    473 ! 260  CONTINUE  ! continue tag without source, maybe need delete in future
    474 
    475   RETURN
    476 END
     474END SUBROUTINE OROSETUP
     475
     476END MODULE orosetup_mod
Note: See TracChangeset for help on using the changeset viewer.