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 768 for branches/dev_001_GM/NEMO/TOP_SRC/CFC/trccfc.F90 – NEMO

Ignore:
Timestamp:
2007-12-16T15:46:18+01:00 (16 years ago)
Author:
gm
Message:

dev_001_GM - create 1 trclsm_ module by trc model (CFC, LOBSTER, PISCES..) + some bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_GM/NEMO/TOP_SRC/CFC/trccfc.F90

    r765 r768  
    2525   PUBLIC   trc_cfc       ! called in ???     
    2626 
    27    INTEGER , PARAMETER ::   jpyear = 100   ! temporal parameter  
    28    INTEGER , PARAMETER ::   jphem  =   2   ! parameter for the 2 hemispheres 
     27   INTEGER , PUBLIC, PARAMETER ::   jpyear = 100   ! temporal parameter  
     28   INTEGER , PUBLIC, PARAMETER ::   jphem  =   2   ! parameter for the 2 hemispheres 
    2929   INTEGER , PUBLIC    ::   ndate_beg      ! initial calendar date (aammjj) for CFC 
    3030   INTEGER , PUBLIC    ::   nyear_res      ! restoring time constant (year) 
    3131   INTEGER , PUBLIC    ::   nyear_beg      ! initial year (aa)  
    3232    
    33    REAL(wp), PUBLIC, DIMENSION(jpyear,jphem, jpf_cfc:jpl_cfc) ::   p_cfc   ! partial hemispheric pressure for CFC           
     33   REAL(wp), PUBLIC, DIMENSION(jpyear,jphem, jp_cfc0:jp_cfc1) ::   p_cfc   ! partial hemispheric pressure for CFC           
    3434   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)                       ::   xphem    ! spatial interpolation factor for patm 
    35    REAL(wp), PUBLIC, DIMENSION(jpi,jpj      ,jpf_cfc:jpl_cfc) ::   qtr      ! input function 
    36    REAL(wp), PUBLIC, DIMENSION(jpi,jpj      ,jpf_cfc:jpl_cfc) ::   qint     ! flux function 
     35   REAL(wp), PUBLIC, DIMENSION(jpi,jpj      ,jp_cfc0:jp_cfc1) ::   qtr      ! input function 
     36   REAL(wp), PUBLIC, DIMENSION(jpi,jpj      ,jp_cfc0:jp_cfc1) ::   qint     ! flux function 
    3737 
    3838   REAL(wp), DIMENSION(jptra) ::   soa1, soa2, soa3, soa4   ! coefficient for solubility of CFC [mol/l/atm] 
     
    5050   !!---------------------------------------------------------------------- 
    5151   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)  
    52    !! $Id:$  
     52   !! $Id$  
    5353   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    5454   !!---------------------------------------------------------------------- 
     
    107107 
    108108      !                                                         !------------! 
    109       DO jn = jpf_cfc, jpl_cfc                                  !  CFC loop  ! 
     109      DO jn = jp_cfc0, jp_cfc1                                  !  CFC loop  ! 
    110110         !                                                      !------------! 
    111111         ! time interpolation at time kt 
     
    180180      !!--------------------------------------------------------------------- 
    181181 
    182       DO jn = 1, jptra 
     182      DO jn = jp_cfc0, jp_cfc1 
    183183         IF ( jn == jp11 ) THEN 
    184184            ! coefficient for solubility of CFC11 in  mol/l/atm 
     
    214214            sca4(jn) =    -0.067430 
    215215         ENDIF 
    216       ENDDO 
    217  
    218       DO jn = 1, jptra 
     216 
    219217         WRITE(numout,*) 'coefficient for solubility of tracer',ctrcnm(jn) 
    220218         WRITE(numout,*) soa1(jn), soa2(jn),soa3(jn), soa4(jn), & 
Note: See TracChangeset for help on using the changeset viewer.