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 8130 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcini_cfc.F90 – NEMO

Ignore:
Timestamp:
2017-06-02T16:17:00+02:00 (8 years ago)
Author:
jpalmier
Message:

JPALM -- CFC module debugg - CFC12 and SF6 up-to-date and in action from now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcini_cfc.F90

    r8075 r8130  
    7070      !                                ! Allocate CFC arrays 
    7171 
    72       ALLOCATE( p_cfc(jpyear,jphem,2), STAT=ierr ) 
     72      ALLOCATE( p_cfc(jpyear,jphem,3), STAT=ierr ) 
    7373      IF( ierr > 0 ) THEN 
    7474         CALL ctl_stop( 'trc_ini_cfc: unable to allocate p_cfc array' )   ;   RETURN 
     
    9191         ENDIF 
    9292         qint_cfc(:,:,:) = 0._wp 
    93          DO jl = 1, jp_cfc 
    94             jn = jp_cfc0 + jl - 1 
    95             trn(:,:,:,jn) = 0._wp 
    96          END DO 
     93         trn(:,:,:,jp_cfc0:jp_cfc1) = 0._wp 
    9794      ENDIF 
    9895 
     
    107104      DO  
    108105        READ(inum,*, IOSTAT=io) zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), & 
    109              & p_cfc(jn,1,3), p_cfc(jn,2,1) & 
     106             & p_cfc(jn,1,3), p_cfc(jn,2,1), & 
    110107             & p_cfc(jn,2,2), p_cfc(jn,2,3) 
    111108        IF( io < 0 ) exit 
     
    128125         DO jn = 30, jpyear 
    129126            WRITE(numout, '( 1I4, 6F9.2)') jn, p_cfc(jn,1,1), p_cfc(jn,2,1), & 
    130                  & p_cfc(jn,1,2), p_cfc(jn,2,2) & 
     127                 & p_cfc(jn,1,2), p_cfc(jn,2,2), & 
    131128                 & p_cfc(jn,1,3), p_cfc(jn,2,3) 
    132129         END DO 
Note: See TracChangeset for help on using the changeset viewer.