Ignore:
Timestamp:
08/31/12 15:41:37 (12 years ago)
Author:
cholod
Message:

Load NEMO_TMP into vendor/nemo/current.

Location:
vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES/p4zlys.F90

    r4 r44  
    4242   !!---------------------------------------------------------------------- 
    4343   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
    44    !! $Id: p4zlys.F90 3295 2012-01-30 15:49:07Z cetlod $  
     44   !! $Id: p4zlys.F90 3321 2012-03-05 17:10:55Z cetlod $  
    4545   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    4646   !!---------------------------------------------------------------------- 
     
    150150         IF( lk_iomput ) THEN 
    151151            zrfact2 = 1.e3 * rfact2r 
    152             CALL iom_put( "PH"    , hi      (:,:,:)                  * tmask(:,:,:) ) 
    153             CALL iom_put( "CO3"   , zco3    (:,:,:) * 1e+3           * tmask(:,:,:) ) 
    154             CALL iom_put( "CO3sat", aksp    (:,:,:) * 1e+3 / calcon  * tmask(:,:,:) ) 
    155             CALL iom_put( "DCAL"  , zcaldiss(:,:,:) * zrfact2 * tmask(:,:,:) ) 
     152            CALL iom_put( "PH"    , -1. * LOG10( hi(:,:,:) )                * tmask(:,:,:) ) 
     153            CALL iom_put( "CO3"   ,        zco3    (:,:,:) * 1e+3           * tmask(:,:,:) ) 
     154            CALL iom_put( "CO3sat",        aksp    (:,:,:) * 1e+3 / calcon  * tmask(:,:,:) ) 
     155            CALL iom_put( "DCAL"  ,        zcaldiss(:,:,:) * zrfact2        * tmask(:,:,:) ) 
    156156         ELSE 
    157             trc3d(:,:,:,jp_pcs0_3d    ) = hi  (:,:,:)          * tmask(:,:,:) 
    158             trc3d(:,:,:,jp_pcs0_3d + 1) = zco3(:,:,:)          * tmask(:,:,:) 
    159             trc3d(:,:,:,jp_pcs0_3d + 2) = aksp(:,:,:) / calcon * tmask(:,:,:) 
     157            trc3d(:,:,:,jp_pcs0_3d    ) = -1. * LOG10( hi(:,:,:) ) * tmask(:,:,:) 
     158            trc3d(:,:,:,jp_pcs0_3d + 1) = zco3(:,:,:)              * tmask(:,:,:) 
     159            trc3d(:,:,:,jp_pcs0_3d + 2) = aksp(:,:,:) / calcon     * tmask(:,:,:) 
    160160         ENDIF 
    161161         ! 
  • vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES/p4zsink.F90

    r4 r44  
    6565   !!---------------------------------------------------------------------- 
    6666   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
    67    !! $Id: p4zsink.F90 3295 2012-01-30 15:49:07Z cetlod $  
     67   !! $Id: p4zsink.F90 3404 2012-06-02 11:52:06Z cetlod $  
    6868   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
    6969   !!---------------------------------------------------------------------- 
     
    295295      ENDIF 
    296296      ! 
    297       CALL wrk_alloc( jpi, jpj, jpk, znum3d ) 
     297      CALL wrk_dealloc( jpi, jpj, jpk, znum3d ) 
    298298      ! 
    299299      IF( nn_timing == 1 )  CALL timing_stop('p4z_sink') 
  • vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90

    r4 r44  
    4040   !!---------------------------------------------------------------------- 
    4141   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
    42    !! $Id: trcsms_pisces.F90 3295 2012-01-30 15:49:07Z cetlod $  
     42   !! $Id: trcsms_pisces.F90 3320 2012-03-05 16:37:52Z cetlod $  
    4343   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    4444   !!---------------------------------------------------------------------- 
     
    6060      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index       
    6161      !! 
    62       INTEGER ::   jnt, jn 
     62      INTEGER ::   jnt, jn, jl 
    6363      CHARACTER (len=25) :: charout 
     64      REAL(wp), POINTER, DIMENSION(:,:,:,:)  :: ztrdpis 
    6465      !!--------------------------------------------------------------------- 
    6566      ! 
     
    6869      IF( ln_pisdmp .AND. MOD( kt - nn_dttrc, nn_pisdmp ) == 0 )   CALL trc_sms_pisces_dmp( kt )  ! Relaxation of some tracers 
    6970                                                                   CALL trc_sms_pisces_mass_conserv( kt ) ! Mass conservation checking 
     71      IF( l_trdtrc )  THEN 
     72         CALL wrk_alloc( jpi, jpj, jpk, jp_pisces, ztrdpis )  
     73         DO jn = 1, jp_pisces 
     74            jl = jn + jp_pcs0 - 1 
     75            ztrdpis(:,:,:,jn) = trn(:,:,:,jl) 
     76         ENDDO 
     77      ENDIF 
    7078 
    7179      IF( ndayflxtr /= nday_year ) THEN      ! New days 
     
    8290      ENDIF 
    8391 
     92 
    8493      DO jnt = 1, nrdttrc          ! Potential time splitting if requested 
    8594         ! 
     
    8796         CALL p4z_sed (kt, jnt)    ! compute soft tissue remineralisation 
    8897         ! 
    89          trb(:,:,:,:) = trn(:,:,:,:) 
     98         DO jn = jp_pcs0, jp_pcs1 
     99            trb(:,:,:,jn) = trn(:,:,:,jn) 
     100         ENDDO 
    90101         ! 
    91102      END DO 
     103 
     104      IF( l_trdtrc )  THEN 
     105         DO jn = 1, jp_pisces 
     106            jl = jn + jp_pcs0 - 1 
     107            ztrdpis(:,:,:,jn) = ( ztrdpis(:,:,:,jn) - trn(:,:,:,jl) ) * rfact2r 
     108         ENDDO 
     109      ENDIF 
    92110 
    93111      CALL p4z_lys( kt )             ! Compute CaCO3 saturation 
     
    101119 
    102120      IF( l_trdtrc ) THEN 
    103           DO jn = jp_pcs0, jp_pcs1 
    104             CALL trd_mod_trc( tra(:,:,:,jn), jn, jptra_trd_sms, kt )   ! save trends 
     121         DO jn = 1, jp_pisces 
     122            jl = jn + jp_pcs0 - 1 
     123             ztrdpis(:,:,:,jn) = ztrdpis(:,:,:,jn) + tra(:,:,:,jl) 
     124             CALL trd_mod_trc( ztrdpis(:,:,:,jn), jn, jptra_trd_sms, kt )   ! save trends 
    105125          END DO 
     126          CALL wrk_dealloc( jpi, jpj, jpk, jp_pisces, ztrdpis )  
    106127      END IF 
    107128 
Note: See TracChangeset for help on using the changeset viewer.