New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1511 for trunk/NEMO – NEMO

Changeset 1511 for trunk/NEMO


Ignore:
Timestamp:
2009-07-21T10:59:38+02:00 (15 years ago)
Author:
cetlod
Message:

update p4zsed.F90 PISCES module to take into account OPA coding rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/PISCES/p4zsed.F90

    r1508 r1511  
    3737   !! * Shared module variables 
    3838   LOGICAL, PUBLIC ::    & 
    39      ldustfer  = .FALSE.      ,  &  !: 
    40      lriver    = .FALSE.      ,  &  !: 
    41      lndepo    = .FALSE.      ,  &  !: 
    42      lsedinput = .FALSE.            !: 
     39     ln_dustfer  = .FALSE.      ,  &  !: 
     40     ln_river    = .FALSE.      ,  &  !: 
     41     ln_ndepo    = .FALSE.      ,  &  !: 
     42     ln_sedinput = .FALSE.            !: 
    4343 
    4444   REAL(wp), PUBLIC ::   & 
     
    9797 
    9898      IF( ( kt * jnt ) == nittrc000   )   CALL p4z_sed_init      ! Initialization (first time-step only) 
    99       IF( (jnt == 1) .and. ( ldustfer ) )  CALL p4z_sbc( kt ) 
     99      IF( (jnt == 1) .and. ( ln_dustfer ) )  CALL p4z_sbc( kt ) 
    100100 
    101101      zstep = rfact2 / rjjss      ! Time step duration for the biology 
     
    463463      REAL(wp) , DIMENSION(jpi,jpj,12)    ::   zdustmo 
    464464 
    465       NAMELIST/nampissed/ ldustfer, lriver, lndepo, lsedinput, sedfeinput, dustsolub 
     465      NAMELIST/nampissed/ ln_dustfer, ln_river, ln_ndepo, ln_sedinput, sedfeinput, dustsolub 
    466466 
    467467 
     
    473473         WRITE(numout,*) ' Namelist : nampissed ' 
    474474         WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~ ' 
    475          WRITE(numout,*) '    Dust input from the atmosphere           ldustfer  = ', ldustfer 
    476          WRITE(numout,*) '    River input of nutrients                 lriver    = ', lriver 
    477          WRITE(numout,*) '    Atmospheric deposition of N              lndepo    = ', lndepo 
    478          WRITE(numout,*) '    Fe input from sediments                  lsedinput = ', lsedinput 
    479          WRITE(numout,*) '    Coastal release of Iron                  sedfeinput =', sedfeinput 
    480          WRITE(numout,*) '    Solubility of the dust                   dustsolub  =', dustsolub 
     475         WRITE(numout,*) '    Dust input from the atmosphere           ln_dustfer  = ', ln_dustfer 
     476         WRITE(numout,*) '    River input of nutrients                 ln_river    = ', ln_river 
     477         WRITE(numout,*) '    Atmospheric deposition of N              ln_ndepo    = ', ln_ndepo 
     478         WRITE(numout,*) '    Fe input from sediments                  ln_sedinput = ', ln_sedinput 
     479         WRITE(numout,*) '    Coastal release of Iron                  sedfeinput  =', sedfeinput 
     480         WRITE(numout,*) '    Solubility of the dust                   dustsolub   =', dustsolub 
    481481      ENDIF 
    482482 
    483483      ! Dust input from the atmosphere 
    484484      ! ------------------------------ 
    485       IF( ldustfer ) THEN  
     485      IF( ln_dustfer ) THEN  
    486486         IF(lwp) WRITE(numout,*) '    Initialize dust input from atmosphere ' 
    487487         IF(lwp) WRITE(numout,*) '    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ' 
     
    498498      ! Nutrient input from rivers 
    499499      ! -------------------------- 
    500       IF( lriver ) THEN 
     500      IF( ln_river ) THEN 
    501501         IF(lwp) WRITE(numout,*) '    Initialize the nutrient input by rivers from river.orca.nc file' 
    502502         IF(lwp) WRITE(numout,*) '    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 
     
    512512      ! Nutrient input from dust 
    513513      ! ------------------------ 
    514       IF( lndepo ) THEN 
     514      IF( ln_ndepo ) THEN 
    515515         IF(lwp) WRITE(numout,*) '    Initialize the nutrient input by dust from ndeposition.orca.nc' 
    516516         IF(lwp) WRITE(numout,*) '    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 
     
    524524      ! Coastal and island masks 
    525525      ! ------------------------ 
    526       IF( lsedinput ) THEN      
     526      IF( ln_sedinput ) THEN      
    527527         IF(lwp) WRITE(numout,*) '    Computation of an island mask to enhance coastal supply of iron' 
    528528         IF(lwp) WRITE(numout,*) '    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 
Note: See TracChangeset for help on using the changeset viewer.