Changeset 3873
- Timestamp:
- 2013-04-15T14:36:02+02:00 (12 years ago)
- Location:
- trunk/NEMOGCM/NEMO/SAS_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/SAS_SRC/diawri.F90
r3331 r3873 259 259 CALL histdef( nid_T, "sowaflup", "Net Upward Water Flux" , "Kg/m2/s", & ! (emp-rnf) 260 260 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 261 CALL histdef( nid_T, "so waflcd", "concentration/dilution water flux" , "kg/m2/s", & ! (emps-rnf)262 &jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout )261 CALL histdef( nid_T, "sosfldow", "downward salt flux" , "PSU/m2/s", & ! (sfx) 262 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 263 263 CALL histdef( nid_T, "sohefldo", "Net Downward Heat Flux" , "W/m2" , & ! qns + qsr 264 264 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) … … 309 309 CALL histwrite( nid_T, "sst_m", it, sst_m, ndim_hT, ndex_hT ) ! sea surface temperature 310 310 CALL histwrite( nid_T, "sss_m", it, sss_m, ndim_hT, ndex_hT ) ! sea surface salinity 311 CALL histwrite( nid_T, "sowaflup", it, emp , ndim_hT, ndex_hT ) ! upward water flux 312 CALL histwrite( nid_T, "sowaflcd", it, emps , ndim_hT, ndex_hT ) ! c/d water flux 311 CALL histwrite( nid_T, "sowaflup", it, (emp - rnf ) , ndim_hT, ndex_hT ) ! upward water flux 312 CALL histwrite( nid_T, "sosfldow", it, sfx , ndim_hT, ndex_hT ) ! downward salt flux 313 ! (includes virtual salt flux beneath ice 314 ! in linear free surface case) 315 313 316 CALL histwrite( nid_T, "sohefldo", it, qns + qsr , ndim_hT, ndex_hT ) ! total heat flux 314 317 CALL histwrite( nid_T, "soshfldo", it, qsr , ndim_hT, ndex_hT ) ! solar heat flux -
trunk/NEMOGCM/NEMO/SAS_SRC/sbcssm.F90
r3364 r3873 81 81 82 82 ! 83 IF (kt == nn_it000 ) CALL sbc_ssm_init() 84 83 85 IF( nn_timing == 1 ) CALL timing_start( 'sbc_ssm') 84 86 … … 100 102 tsn(:,:,1,jp_tem) = sst_m(:,:) 101 103 tsn(:,:,1,jp_sal) = sss_m(:,:) 104 IF ( nn_ice == 1 ) THEN 105 tsb(:,:,1,jp_tem) = sst_m(:,:) 106 tsb(:,:,1,jp_sal) = sss_m(:,:) 107 ENDIF 102 108 ub (:,:,1 ) = ssu_m(:,:) 103 109 vb (:,:,1 ) = ssv_m(:,:) … … 135 141 TYPE(FLD_N) :: sn_usp, sn_vsp, sn_ssh 136 142 ! 137 NAMELIST/namsbc_s sm/cn_dir, ln_3d_uv, sn_tem, sn_sal, sn_usp, sn_vsp, sn_ssh143 NAMELIST/namsbc_sas/cn_dir, ln_3d_uv, sn_tem, sn_sal, sn_usp, sn_vsp, sn_ssh 138 144 139 145 !!---------------------------------------------------------------------- … … 151 157 ! 152 158 REWIND( numnam ) ! read in namlist namsbc_ssm 153 READ ( numnam, namsbc_s sm)159 READ ( numnam, namsbc_sas ) 154 160 ! ! store namelist information in an array 155 161 ! ! Control print 156 162 IF(lwp) THEN 157 163 WRITE(numout,*) 158 WRITE(numout,*) 'sbc_s sm: standalone surface scheme '164 WRITE(numout,*) 'sbc_sas : standalone surface scheme ' 159 165 WRITE(numout,*) '~~~~~~~~~~~ ' 160 WRITE(numout,*) ' Namelist namsbc_s sm'166 WRITE(numout,*) ' Namelist namsbc_sas' 161 167 WRITE(numout,*) 162 168 ENDIF … … 277 283 ALLOCATE( ub(jpi,jpj,1) , STAT=ierr1 ) 278 284 ALLOCATE( vb(jpi,jpj,1) , STAT=ierr2 ) 279 ierr = ierr0 + ierr1 + ierr2 285 IF ( nn_ice == 1 ) ALLOCATE( tsb(jpi,jpj,1,jpm), STAT=ierr3 ) 286 ierr = ierr0 + ierr1 + ierr2 + ierr3 280 287 IF( ierr > 0 ) THEN 281 288 CALL ctl_stop('sbc_ssm_init: unable to allocate surface arrays')
Note: See TracChangeset
for help on using the changeset viewer.