Changeset 44 for vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES
- Timestamp:
- 08/31/12 15:41:37 (12 years ago)
- 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 42 42 !!---------------------------------------------------------------------- 43 43 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 44 !! $Id: p4zlys.F90 3 295 2012-01-30 15:49:07Z cetlod $44 !! $Id: p4zlys.F90 3321 2012-03-05 17:10:55Z cetlod $ 45 45 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 46 46 !!---------------------------------------------------------------------- … … 150 150 IF( lk_iomput ) THEN 151 151 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(:,:,:) ) 156 156 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(:,:,:) 160 160 ENDIF 161 161 ! -
vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES/p4zsink.F90
r4 r44 65 65 !!---------------------------------------------------------------------- 66 66 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 67 !! $Id: p4zsink.F90 3 295 2012-01-30 15:49:07Z cetlod $67 !! $Id: p4zsink.F90 3404 2012-06-02 11:52:06Z cetlod $ 68 68 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 69 69 !!---------------------------------------------------------------------- … … 295 295 ENDIF 296 296 ! 297 CALL wrk_ alloc( jpi, jpj, jpk, znum3d )297 CALL wrk_dealloc( jpi, jpj, jpk, znum3d ) 298 298 ! 299 299 IF( nn_timing == 1 ) CALL timing_stop('p4z_sink') -
vendor/nemo/current/NEMOGCM/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90
r4 r44 40 40 !!---------------------------------------------------------------------- 41 41 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 42 !! $Id: trcsms_pisces.F90 3 295 2012-01-30 15:49:07Z cetlod $42 !! $Id: trcsms_pisces.F90 3320 2012-03-05 16:37:52Z cetlod $ 43 43 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 44 44 !!---------------------------------------------------------------------- … … 60 60 INTEGER, INTENT( in ) :: kt ! ocean time-step index 61 61 !! 62 INTEGER :: jnt, jn 62 INTEGER :: jnt, jn, jl 63 63 CHARACTER (len=25) :: charout 64 REAL(wp), POINTER, DIMENSION(:,:,:,:) :: ztrdpis 64 65 !!--------------------------------------------------------------------- 65 66 ! … … 68 69 IF( ln_pisdmp .AND. MOD( kt - nn_dttrc, nn_pisdmp ) == 0 ) CALL trc_sms_pisces_dmp( kt ) ! Relaxation of some tracers 69 70 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 70 78 71 79 IF( ndayflxtr /= nday_year ) THEN ! New days … … 82 90 ENDIF 83 91 92 84 93 DO jnt = 1, nrdttrc ! Potential time splitting if requested 85 94 ! … … 87 96 CALL p4z_sed (kt, jnt) ! compute soft tissue remineralisation 88 97 ! 89 trb(:,:,:,:) = trn(:,:,:,:) 98 DO jn = jp_pcs0, jp_pcs1 99 trb(:,:,:,jn) = trn(:,:,:,jn) 100 ENDDO 90 101 ! 91 102 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 92 110 93 111 CALL p4z_lys( kt ) ! Compute CaCO3 saturation … … 101 119 102 120 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 105 125 END DO 126 CALL wrk_dealloc( jpi, jpj, jpk, jp_pisces, ztrdpis ) 106 127 END IF 107 128
Note: See TracChangeset
for help on using the changeset viewer.