- Timestamp:
- 2012-03-14T16:09:33+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3309_LOCEAN12_Ediag/NEMOGCM/NEMO/OPA_SRC/TRD/trdpen.F90
r3326 r3327 70 70 REAL(wp) , INTENT(in) :: pdt ! time step [s] 71 71 ! 72 INTEGER :: jk ! dummy loop indices 72 73 REAL(wp), POINTER, DIMENSION(:,:) :: z2d ! 2D workspace 73 74 REAL(wp), POINTER, DIMENSION(:,:,:) :: zpe ! 3D workspace … … 87 88 88 89 SELECT CASE ( ktrd ) 89 CASE ( jptra_xad ) ; CALL iom_put( "petrd_xad", z ke ) ! zonal advection90 CASE ( jptra_yad ) ; CALL iom_put( "petrd_yad", z ke ) ! merid. advection91 CASE ( jptra_zad ) ; CALL iom_put( "petrd_zad", z ke ) ! vertical advection90 CASE ( jptra_xad ) ; CALL iom_put( "petrd_xad", zpe ) ! zonal advection 91 CASE ( jptra_yad ) ; CALL iom_put( "petrd_yad", zpe ) ! merid. advection 92 CASE ( jptra_zad ) ; CALL iom_put( "petrd_zad", zpe ) ! vertical advection 92 93 IF( .NOT.lk_vvl ) THEN ! cst volume : adv flux through z=0 surface 93 94 CALL wrk_alloc( jpi, jpj, z2d ) 94 z2d(:,:) = wn(:,:,1) * ( drau_dt(:,:,1) * tsn(:,:,1,jp_tem) 95 z2d(:,:) = wn(:,:,1) * ( drau_dt(:,:,1) * tsn(:,:,1,jp_tem) & 95 96 & + drau_ds(:,:,1) * tsn(:,:,1,jp_sal) ) / fse3t(:,:,1) 96 97 CALL iom_put( "petrd_sad" , z2d ) … … 104 105 CASE ( jptra_npc ) ; CALL iom_put( "petrd_npc" , zpe ) ! non penetr convect adjustment 105 106 CASE ( jptra_nsr ) ; CALL iom_put( "petrd_for" , zpe ) ! surface forcing + runoff (ln_rnf=T) 106 CASE ( jptra_qsr ) ; CALL iom_put( "petrd_qsr" , z ke ) ! air-sea : penetrative sol radiat107 CASE ( jptra_bbc ) ; CALL iom_put( "petrd_bbc" , zke ) ! bottom bound cond (geoth flux)108 CASE ( jptra_atf ) ; CALL iom_put( "petrd_atf" , zke ) ! asselin time filter (last trend)107 CASE ( jptra_qsr ) ; CALL iom_put( "petrd_qsr" , zpe ) ! air-sea : penetrative sol radiat 108 CASE ( jptra_bbc ) ; CALL iom_put( "petrd_bbc" , zpe ) ! bottom bound cond (geoth flux) 109 CASE ( jptra_atf ) ; CALL iom_put( "petrd_atf" , zpe ) ! asselin time filter (last trend) 109 110 IF( .NOT.lk_vvl ) THEN ! cst volume : ssh term (otherwise include in e3t variation) 110 111 CALL wrk_alloc( jpi, jpj, z2d ) 111 z2d(:,:) = ( ssha(:,:) - sshb(:,:) ) &112 & * ( drau_dt(:,:,1) * tsn(:,:,1,jp_tem) 112 z2d(:,:) = ( ssha(:,:) - sshb(:,:) ) & 113 & * ( drau_dt(:,:,1) * tsn(:,:,1,jp_tem) & 113 114 & + drau_ds(:,:,1) * tsn(:,:,1,jp_sal) ) / ( fse3t(:,:,1) * pdt ) 114 115 CALL iom_put( "petrd_sad" , z2d ) … … 141 142 IF ( lk_vvl ) CALL ctl_stop('trd_pen_init : PE trends not coded for variable volume') 142 143 ! 143 r1_2_rau0 = 0.5_wp / rau0144 !145 144 END SUBROUTINE trd_pen_init 146 145 147 146 !!====================================================================== 148 END MODULE trd tra147 END MODULE trdpen
Note: See TracChangeset
for help on using the changeset viewer.