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 7068 for branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/C14/trcsms_c14.F90 – NEMO

Ignore:
Timestamp:
2016-10-21T17:38:13+02:00 (7 years ago)
Author:
cetlod
Message:

ROBUST5_CNRS : implementation of part I of new TOP interface - 1st step -, see ticket #1782

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/C14/trcsms_c14.F90

    r7041 r7068  
    4646      !            freshwater fluxes which should not impact the C14/C ratio 
    4747      ! 
    48       !        =>   Delta-C14= ( trn(...jp_c140) -1)*1000. 
     48      !        =>   Delta-C14= ( trn(...jp_c14) -1)*1000. 
    4949      !! 
    5050      !!---------------------------------------------------------------------- 
     
    121121      ! Flux of C-14 from air-to-sea; units: (C14/C ratio) x m/s 
    122122      !                               already masked 
    123       qtr_c14(:,:) = exch_c14(:,:) * ( c14sbc(:,:) - trb(:,:,1,jp_c140) ) 
     123      qtr_c14(:,:) = exch_c14(:,:) * ( c14sbc(:,:) - trb(:,:,1,jp_c14) ) 
    124124             
    125125      ! cumulation of air-to-sea flux at each time step 
    126126      qint_c14(:,:) = qint_c14(:,:) + qtr_c14(:,:) * rdttrc 
    127127      ! 
    128       ! Add the surface flux to the trend of jp_c140 
     128      ! Add the surface flux to the trend of jp_c14 
    129129      DO jj = 1, jpj 
    130130         DO ji = 1, jpi 
    131             tra(ji,jj,1,jp_c140) = tra(ji,jj,1,jp_c140) + qtr_c14(ji,jj) / e3t_n(ji,jj,1)  
     131            tra(ji,jj,1,jp_c14) = tra(ji,jj,1,jp_c14) + qtr_c14(ji,jj) / e3t_n(ji,jj,1)  
    132132         END DO 
    133133      END DO 
    134134      ! 
    135       ! Computation of decay effects on jp_c140 
     135      ! Computation of decay effects on jp_c14 
    136136      DO jk = 1, jpk 
    137137         DO jj = 1, jpj 
    138138            DO ji = 1, jpi 
    139139               ! 
    140                tra(ji,jj,jk,jp_c140) = tra(ji,jj,jk,jp_c140) - rlam14 * trb(ji,jj,jk,jp_c140) * tmask(ji,jj,jk)  
     140               tra(ji,jj,jk,jp_c14) = tra(ji,jj,jk,jp_c14) - rlam14 * trb(ji,jj,jk,jp_c14) * tmask(ji,jj,jk)  
    141141               ! 
    142142            END DO 
     
    159159      ENDIF 
    160160 
    161       IF( l_trdtrc )  CALL trd_trc( tra(:,:,:,jp_c140), jp_c14, jptra_sms, kt )   ! save trends 
     161      IF( l_trdtrc )  CALL trd_trc( tra(:,:,:,jp_c14), 1, jptra_sms, kt )   ! save trends 
    162162      ! 
    163163      IF( nn_timing == 1 )  CALL timing_stop('trc_sms_c14') 
Note: See TracChangeset for help on using the changeset viewer.