Changeset 5376
- Timestamp:
- 2015-06-08T15:13:26+02:00 (9 years ago)
- Location:
- branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/LIM_SRC_3/limsbc.F90
r5370 r5376 110 110 111 111 ! make calls for heat fluxes before it is modified 112 IF( iom_use('qsr_oce') ) CALL iom_put( "qsr_oce" , qsr_oce(:,:) * pfrld(:,:) ) ! solar flux at ocean surface113 IF( iom_use('qns_oce') ) CALL iom_put( "qns_oce" , qns_oce(:,:) * pfrld(:,:) + qemp_oce(:,:) ) ! non-solar flux at ocean surface112 !!$ IF( iom_use('qsr_oce') ) CALL iom_put( "qsr_oce" , qsr_oce(:,:) * pfrld(:,:) ) ! solar flux at ocean surface 113 !!$ IF( iom_use('qns_oce') ) CALL iom_put( "qns_oce" , qns_oce(:,:) * pfrld(:,:) + qemp_oce(:,:) ) ! non-solar flux at ocean surface 114 114 IF( iom_use('qsr_ice') ) CALL iom_put( "qsr_ice" , SUM( qsr_ice(:,:,:) * a_i_b(:,:,:), dim=3 ) ) ! solar flux at ice surface 115 115 IF( iom_use('qns_ice') ) CALL iom_put( "qns_ice" , SUM( qns_ice(:,:,:) * a_i_b(:,:,:), dim=3 ) + qemp_ice(:,:) ) ! non-solar flux at ice surface 116 116 IF( iom_use('qtr_ice') ) CALL iom_put( "qtr_ice" , SUM( ftr_ice(:,:,:) * a_i_b(:,:,:), dim=3 ) ) ! solar flux transmitted thru ice 117 IF( iom_use('qt_oce' ) ) CALL iom_put( "qt_oce" , ( qsr_oce(:,:) + qns_oce(:,:) ) * pfrld(:,:) + qemp_oce(:,:) )117 !!$ IF( iom_use('qt_oce' ) ) CALL iom_put( "qt_oce" , ( qsr_oce(:,:) + qns_oce(:,:) ) * pfrld(:,:) + qemp_oce(:,:) ) 118 118 IF( iom_use('qt_ice' ) ) CALL iom_put( "qt_ice" , SUM( ( qns_ice(:,:,:) + qsr_ice(:,:,:) ) & 119 119 & * a_i_b(:,:,:), dim=3 ) + qemp_ice(:,:) ) -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90
r4990 r5376 164 164 165 165 166 FUNCTION mynode( ldtxt, kumnam_ref , kumnam_cfg , kumond , kstop, localComm )166 FUNCTION mynode( ldtxt, ldname, kumnam_ref , kumnam_cfg , kumond , kstop, localComm ) 167 167 !!---------------------------------------------------------------------- 168 168 !! *** routine mynode *** … … 171 171 !!---------------------------------------------------------------------- 172 172 CHARACTER(len=*),DIMENSION(:), INTENT( out) :: ldtxt 173 CHARACTER(len=*) , INTENT(in ) :: ldname 173 174 INTEGER , INTENT(in ) :: kumnam_ref ! logical unit for reference namelist 174 175 INTEGER , INTENT(in ) :: kumnam_cfg ! logical unit for configuration namelist … … 297 298 298 299 IF( mynode == 0 ) THEN 299 CALL ctl_opn( kumond, 'output.namelist.dyn', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. , 1 )300 WRITE(kumond, nammpp)300 CALL ctl_opn( kumond, TRIM(ldname), 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. , 1 ) 301 WRITE(kumond, nammpp) 301 302 ENDIF 302 303 ! … … 3192 3193 END FUNCTION lib_mpp_alloc 3193 3194 3194 FUNCTION mynode( ldtxt, kumnam_ref, knumnam_cfg, kumond , kstop, localComm ) RESULT (function_value)3195 FUNCTION mynode( ldtxt, ldname, kumnam_ref, knumnam_cfg, kumond , kstop, localComm ) RESULT (function_value) 3195 3196 INTEGER, OPTIONAL , INTENT(in ) :: localComm 3196 3197 CHARACTER(len=*),DIMENSION(:) :: ldtxt 3198 CHARACTER(len=*) :: ldname 3197 3199 INTEGER :: kumnam_ref, knumnam_cfg , kumond , kstop 3198 3200 IF( PRESENT( localComm ) .OR. .NOT.PRESENT( localComm ) ) function_value = 0 3199 3201 IF( .FALSE. ) ldtxt(:) = 'never done' 3200 CALL ctl_opn( kumond, 'output.namelist.dyn', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. , 1 )3202 CALL ctl_opn( kumond, TRIM(ldname), 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. , 1 ) 3201 3203 END FUNCTION mynode 3202 3204 -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90
r5357 r5376 405 405 CALL iom_put( "qhc_oce", qns-zqlw+zqsb+zqla ) ! output downward heat content of E-P over the ocean 406 406 CALL iom_put( "qns_oce", qns ) ! output downward non solar heat over the ocean 407 CALL iom_put( "qsr_oce", qsr ) ! output downward solar heat over the ocean 408 CALL iom_put( "qt_oce" , qns+qsr ) ! output total downward heat over the ocean 407 409 ! 408 410 IF(ln_ctl) THEN … … 620 622 621 623 ! --- heat flux associated with emp --- ! 622 qemp_oce(:,:) = - pfrld(:,:) * zevap(:,:) * sst_m(:,:) * rcp & ! evap 623 & + ( tprecip(:,:) - sprecip(:,:) ) * ( sf(jp_tair)%fnow(:,:,1) - rt0 ) * rcp & ! liquid precip 624 & + sprecip(:,:) * ( 1._wp - zsnw ) * & ! solid precip 624 qemp_oce(:,:) = - pfrld(:,:) * zevap(:,:) * sst_m(:,:) * rcp & ! evap at sst 625 & + ( tprecip(:,:) - sprecip(:,:) ) * ( sf(jp_tair)%fnow(:,:,1) - rt0 ) * rcp & ! liquid precip at Tair 626 & + sprecip(:,:) * ( 1._wp - zsnw ) * & ! solid precip at min(Tair,Tsnow) 625 627 & ( ( MIN( sf(jp_tair)%fnow(:,:,1), rt0_snow ) - rt0 ) * cpic * tmask(:,:,1) - lfus ) 626 628 qemp_ice(:,:) = sprecip(:,:) * zsnw * & ! solid precip (only) -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r5357 r5376 33 33 USE cpl_oasis3 ! OASIS3 coupling 34 34 USE geo2ocean ! 35 USE oce , ONLY : tsn, un, vn, sshn, ub, vb, tsb,sshb35 USE oce , ONLY : tsn, un, vn, sshn, ub, vb, sshb 36 36 USE albedo ! 37 37 USE in_out_manager ! I/O manager … … 42 42 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 43 43 USE eosbn2 44 USE traqsr , ONLY : fraqsr_1lev 44 45 #if defined key_cpl_carbon_cycle 45 46 USE p4zflx, ONLY : oce_co2 … … 486 487 IF( nn_components == jp_iam_opa ) THEN ! OPA coupled to SAS via OASIS: force received field by OPA (sent by SAS) 487 488 srcv(:)%laction = .FALSE. ! force default definition in case of opa <-> sas coupling 489 srcv(:)%clgrid = 'T' ! force default definition in case of opa <-> sas coupling 490 srcv(:)%nsgn = 1. ! force default definition in case of opa <-> sas coupling 488 491 srcv( (/jpr_qsroce, jpr_qnsoce, jpr_oemp, jpr_sflx, jpr_fice, jpr_otx1, jpr_oty1, jpr_taum/) )%laction = .TRUE. 489 492 srcv(jpr_otx1)%clgrid = 'U' ! oce components given at U-point … … 525 528 IF( nn_components == jp_iam_sas ) THEN 526 529 IF( .NOT. ln_cpl ) srcv(:)%laction = .FALSE. ! force default definition in case of opa <-> sas coupling 527 srcv( (/jpr_toce, jpr_soce, jpr_ssh, jpr_e3t1st, jpr_fraqsr, jpr_ocx1, jpr_ocy1/) )%laction = .TRUE. 530 IF( .NOT. ln_cpl ) srcv(:)%clgrid = 'T' ! force default definition in case of opa <-> sas coupling 531 IF( .NOT. ln_cpl ) srcv(:)%nsgn = 1. ! force default definition in case of opa <-> sas coupling 532 srcv( (/jpr_toce, jpr_soce, jpr_ssh, jpr_fraqsr, jpr_ocx1, jpr_ocy1/) )%laction = .TRUE. 533 srcv( jpr_e3t1st )%laction = lk_vvl 534 srcv(jpr_ocx1)%clgrid = 'U' ! oce components given at U-point 535 srcv(jpr_ocy1)%clgrid = 'V' ! and V-point 528 536 ! Vectors: change of sign at north fold ONLY if on the local grid 529 537 srcv(jpr_ocx1:jpr_ocy1)%nsgn = -1. … … 690 698 IF( nn_components == jp_iam_opa ) THEN 691 699 ssnd(:)%laction = .FALSE. ! force default definition in case of opa <-> sas coupling 692 ssnd( (/jps_toce, jps_soce, jps_ssh, jps_e3t1st, jps_fraqsr, jps_ocx1, jps_ocy1/) )%laction = .TRUE. 700 ssnd( (/jps_toce, jps_soce, jps_ssh, jps_fraqsr, jps_ocx1, jps_ocy1/) )%laction = .TRUE. 701 ssnd( jps_e3t1st )%laction = lk_vvl 693 702 ! vector definition: not used but cleaner... 694 703 ssnd(jps_ocx1)%clgrid = 'U' ! oce components given at U-point … … 984 993 #endif 985 994 986 ! Fields received by ice modelwhen OASIS coupling995 ! Fields received by SAS when OASIS coupling 987 996 ! (arrays no more filled at sbcssm stage) 988 997 ! ! ================== ! … … 991 1000 IF( srcv(jpr_soce)%laction ) THEN ! received by sas in case of opa <-> sas coupling 992 1001 sss_m(:,:) = frcv(jpr_soce)%z3(:,:,1) 993 tsn(:,:,1,jp_sal) = sss_m(:,:)1002 CALL iom_put( 'sss_m', sss_m ) 994 1003 ENDIF 995 1004 ! … … 999 1008 IF( srcv(jpr_toce)%laction ) THEN ! received by sas in case of opa <-> sas coupling 1000 1009 sst_m(:,:) = frcv(jpr_toce)%z3(:,:,1) 1001 tsn(:,:,1,jp_tem) = sst_m(:,:) ! keep the received (potential or conservative) temperature in tsn1002 1010 IF( srcv(jpr_soce)%laction .AND. ln_useCT ) THEN ! make sure that sst_m is the potential temperature 1003 1011 sst_m(:,:) = eos_pt_from_ct( sst_m(:,:), sss_m(:,:) ) … … 1009 1017 IF( srcv(jpr_ssh )%laction ) THEN ! received by sas in case of opa <-> sas coupling 1010 1018 ssh_m(:,:) = frcv(jpr_ssh )%z3(:,:,1) 1011 sshn( :,:) = ssh_m(:,:)1019 CALL iom_put( 'ssh_m', ssh_m ) 1012 1020 ENDIF 1013 1021 ! ! ================== ! … … 1016 1024 IF( srcv(jpr_ocx1)%laction ) THEN ! received by sas in case of opa <-> sas coupling 1017 1025 ssu_m(:,:) = frcv(jpr_ocx1)%z3(:,:,1) 1018 ub (:,:,1) = ssu_m(:,:) 1026 ub (:,:,1) = ssu_m(:,:) ! will be used in sbcice_lim in the call of lim_sbc_tau 1027 CALL iom_put( 'ssu_m', ssu_m ) 1019 1028 ENDIF 1020 1029 IF( srcv(jpr_ocy1)%laction ) THEN 1021 1030 ssv_m(:,:) = frcv(jpr_ocy1)%z3(:,:,1) 1022 vb (:,:,1) = ssv_m(:,:) 1031 vb (:,:,1) = ssv_m(:,:) ! will be used in sbcice_lim in the call of lim_sbc_tau 1032 CALL iom_put( 'ssv_m', ssv_m ) 1023 1033 ENDIF 1024 1034 ! ! ======================== ! … … 1026 1036 ! ! ======================== ! 1027 1037 IF( srcv(jpr_e3t1st )%laction ) THEN ! received by sas in case of opa <-> sas coupling 1028 fse3t_m(:,:) = frcv(jpr_e3t1st )%z3(:,:,1) 1038 e3t_m(:,:) = frcv(jpr_e3t1st )%z3(:,:,1) 1039 CALL iom_put( 'e3t_m', e3t_m(:,:) ) 1029 1040 ENDIF 1030 1041 ! ! ================================ ! … … 1033 1044 IF( srcv(jpr_fraqsr)%laction ) THEN ! received by sas in case of opa <-> sas coupling 1034 1045 frq_m(:,:) = frcv(jpr_fraqsr)%z3(:,:,1) 1046 CALL iom_put( 'frq_m', frq_m ) 1035 1047 ENDIF 1036 1048 … … 1937 1949 ! 1938 1950 ! 1939 ! Fields sent to SAS by OPAwhen doing OPA<->SAS coupling1951 ! Fields sent by OPA to SAS when doing OPA<->SAS coupling 1940 1952 ! ! SSH 1941 1953 IF( ssnd(jps_ssh )%laction ) THEN … … 1958 1970 ! ! Qsr fraction 1959 1971 IF( ssnd(jps_fraqsr)%laction ) THEN 1960 CALL cpl_snd( jps_fraqsr, isec, RESHAPE ( fr q_m, (/jpi,jpj,1/) ), info )1961 ENDIF 1962 ! 1963 ! Fields sent to ocean by ice modelwhen OASIS coupling1972 CALL cpl_snd( jps_fraqsr, isec, RESHAPE ( fraqsr_1lev(:,:) , (/jpi,jpj,1/) ), info ) 1973 ENDIF 1974 ! 1975 ! Fields sent by SAS to OPA when OASIS coupling 1964 1976 ! ! Solar heat flux 1965 1977 IF( ssnd(jps_qsroce)%laction ) CALL cpl_snd( jps_qsroce, isec, RESHAPE ( qsr , (/jpi,jpj,1/) ), info ) -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r5357 r5376 308 308 & CALL ctl_warn( 'diurnal cycle for qsr: the sampling of the diurnal cycle is too small...' ) 309 309 310 311 IF( nn_components /= jp_iam_sas ) & 312 & CALL sbc_ssm_init ! Sea-surface mean fields initialisation 310 CALL sbc_ssm_init ! Sea-surface mean fields initialisation 313 311 ! 314 312 IF( ln_ssr ) CALL sbc_ssr_init ! Sea-Surface Restoring initialisation -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r5220 r5376 281 281 ENDIF 282 282 ENDIF 283 narea = mynode( cltxt, numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) ! Nodes selection 283 ! Nodes selection (control print return in cltxt) 284 narea = mynode( cltxt, 'output.namelist.dyn', numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) 284 285 #else 285 286 IF( lk_oasis ) THEN … … 287 288 CALL cpl_init( "oceanx", ilocal_comm ) ! nemo local communicator given by oasis 288 289 ENDIF 289 narea = mynode( cltxt, numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) ! Nodes selection (control print return in cltxt) 290 ! Nodes selection (control print return in cltxt) 291 narea = mynode( cltxt, 'output.namelist.dyn', numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) 290 292 ELSE 291 293 ilocal_comm = 0 292 narea = mynode( cltxt, numnam_ref, numnam_cfg, numond , nstop ) ! Nodes selection (control print return in cltxt) 294 ! Nodes selection (control print return in cltxt) 295 narea = mynode( cltxt, 'output.namelist.dyn', numnam_ref, numnam_cfg, numond , nstop ) 293 296 ENDIF 294 297 #endif -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90
r5352 r5376 175 175 INTEGER :: ios 176 176 CHARACTER(len=80), DIMENSION(16) :: cltxt 177 CHARACTER(len=80) :: clname 177 178 ! 178 179 NAMELIST/namctl/ ln_ctl , nn_print, nn_ictls, nn_ictle, & … … 190 191 CALL ctl_opn( numnam_cfg, 'namelist_sas_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. ) 191 192 cxios_context = 'sas' 193 clname = 'output.namelist_sas.dyn' 192 194 ELSE 193 195 CALL ctl_opn( numnam_ref, 'namelist_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. ) 194 196 CALL ctl_opn( numnam_cfg, 'namelist_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. ) 195 197 cxios_context = 'nemo' 198 clname = 'output.namelist.dyn' 196 199 ENDIF 197 200 ! … … 244 247 ENDIF 245 248 ENDIF 246 narea = mynode ( cltxt, numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) ! Nodes selection249 narea = mynode ( cltxt, clname, numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) ! Nodes selection 247 250 #else 248 251 IF( lk_oasis ) THEN … … 250 253 CALL cpl_init( "sas", ilocal_comm ) ! nemo local communicator given by oasis 251 254 ENDIF 252 narea = mynode( cltxt, numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) ! Nodes selection (control print return in cltxt)255 narea = mynode( cltxt, clname, numnam_ref, numnam_cfg, numond , nstop, ilocal_comm ) ! Nodes selection (control print return in cltxt) 253 256 ELSE 254 257 ilocal_comm = 0 255 narea = mynode( cltxt, numnam_ref, numnam_cfg, numond , nstop ) ! Nodes selection (control print return in cltxt)258 narea = mynode( cltxt, clname, numnam_ref, numnam_cfg, numond , nstop ) ! Nodes selection (control print return in cltxt) 256 259 ENDIF 257 260 #endif -
branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/SAS_SRC/sbcssm.F90
r5352 r5376 39 39 LOGICAL :: ln_3d_uve !: specify whether input velocity data is 3D 40 40 LOGICAL :: ln_read_frq !: specify whether we must read frq or not 41 LOGICAL :: l_initdone = .false. 41 42 INTEGER :: nfld_3d 42 43 INTEGER :: nfld_2d … … 99 100 IF( ln_read_frq ) frq_m(:,:) = sf_ssm_2d(jf_frq)%fnow(:,:,1) * tmask(:,:,1) ! sea surface height 100 101 ! 101 tsn(:,:,1,jp_tem) = sst_m(:,:)102 tsn(:,:,1,jp_sal) = sss_m(:,:)103 102 IF ( nn_ice == 1 ) THEN 103 tsn(:,:,1,jp_tem) = sst_m(:,:) 104 tsn(:,:,1,jp_sal) = sss_m(:,:) 104 105 tsb(:,:,1,jp_tem) = sst_m(:,:) 105 106 tsb(:,:,1,jp_sal) = sss_m(:,:) … … 118 119 ENDIF 119 120 ! 121 IF( l_initdone ) THEN ! Mean value at each nn_fsbc time-step ! 122 CALL iom_put( 'ssu_m', ssu_m ) 123 CALL iom_put( 'ssv_m', ssv_m ) 124 CALL iom_put( 'sst_m', sst_m ) 125 CALL iom_put( 'sss_m', sss_m ) 126 CALL iom_put( 'ssh_m', ssh_m ) 127 IF( lk_vvl ) CALL iom_put( 'e3t_m', e3t_m ) 128 IF( ln_read_frq ) CALL iom_put( 'frq_m', frq_m ) 129 ENDIF 130 ! 120 131 IF( nn_timing == 1 ) CALL timing_stop( 'sbc_ssm') 121 132 ! … … 146 157 NAMELIST/namsbc_sas/cn_dir, ln_3d_uve, ln_read_frq, sn_tem, sn_sal, sn_usp, sn_vsp, sn_ssh, sn_e3t, sn_frq 147 158 !!---------------------------------------------------------------------- 159 160 IF( ln_rstart .AND. nn_components == jp_iam_sas ) RETURN 148 161 149 162 REWIND( numnam_ref ) ! Namelist namsbc_sas in reference namelist : Input fields … … 167 180 WRITE(numout,*) 168 181 ENDIF 169 170 ! 171 !! switch off stuff that isn't sensible with a standalone module 172 !! note that we need sbc_ssm called first in sbc 173 ! 174 IF( ln_apr_dyn ) THEN 175 IF( lwp ) WRITE(numout,*) 'No atmospheric gradient needed with StandAlone Surface scheme' 176 ln_apr_dyn = .FALSE. 177 ENDIF 178 IF( ln_dm2dc ) THEN 179 IF( lwp ) WRITE(numout,*) 'No diurnal cycle needed with StandAlone Surface scheme' 180 ln_dm2dc = .FALSE. 181 ENDIF 182 IF( ln_rnf ) THEN 183 IF( lwp ) WRITE(numout,*) 'No runoff needed with StandAlone Surface scheme' 184 ln_rnf = .FALSE. 185 ENDIF 186 IF( ln_ssr ) THEN 187 IF( lwp ) WRITE(numout,*) 'No surface relaxation needed with StandAlone Surface scheme' 188 ln_ssr = .FALSE. 189 ENDIF 190 IF( nn_fwb > 0 ) THEN 191 IF( lwp ) WRITE(numout,*) 'No freshwater budget adjustment needed with StandAlone Surface scheme' 192 nn_fwb = 0 193 ENDIF 194 IF( nn_closea > 0 ) THEN 195 IF( lwp ) WRITE(numout,*) 'No closed seas adjustment needed with StandAlone Surface scheme' 196 nn_closea = 0 197 ENDIF 198 182 183 IF( nn_components /= jp_iam_sas ) THEN 184 ! 185 !! switch off stuff that isn't sensible with a standalone module 186 !! note that we need sbc_ssm called first in sbc 187 ! 188 IF( ln_apr_dyn ) THEN 189 IF( lwp ) WRITE(numout,*) 'No atmospheric gradient needed with StandAlone Surface scheme' 190 ln_apr_dyn = .FALSE. 191 ENDIF 192 IF( ln_dm2dc ) THEN 193 IF( lwp ) WRITE(numout,*) 'No diurnal cycle needed with StandAlone Surface scheme' 194 ln_dm2dc = .FALSE. 195 ENDIF 196 IF( ln_rnf ) THEN 197 IF( lwp ) WRITE(numout,*) 'No runoff needed with StandAlone Surface scheme' 198 ln_rnf = .FALSE. 199 ENDIF 200 IF( ln_ssr ) THEN 201 IF( lwp ) WRITE(numout,*) 'No surface relaxation needed with StandAlone Surface scheme' 202 ln_ssr = .FALSE. 203 ENDIF 204 IF( nn_fwb > 0 ) THEN 205 IF( lwp ) WRITE(numout,*) 'No freshwater budget adjustment needed with StandAlone Surface scheme' 206 nn_fwb = 0 207 ENDIF 208 IF( nn_closea > 0 ) THEN 209 IF( lwp ) WRITE(numout,*) 'No closed seas adjustment needed with StandAlone Surface scheme' 210 nn_closea = 0 211 ENDIF 212 213 ENDIF 199 214 ! 200 215 !! following code is a bit messy, but distinguishes between when u,v are 3d arrays and … … 280 295 CALL sbc_ssm( nit000 ) ! need to define ss?_m arrays used in limistate 281 296 IF( .NOT. ln_read_frq ) frq_m(:,:) = 1. 297 l_initdone = .TRUE. 282 298 ! 283 299 END SUBROUTINE sbc_ssm_init
Note: See TracChangeset
for help on using the changeset viewer.