Changeset 4166
- Timestamp:
- 2013-11-08T06:51:52+01:00 (10 years ago)
- Location:
- branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90
r4161 r4166 36 36 PUBLIC lim_istate ! routine called by lim_init.F90 37 37 38 ! !!** init namelist (namiceini) ** 39 REAL(wp) :: ttest ! threshold water temperature for initial sea ice 40 REAL(wp) :: hninn ! initial snow thickness in the north 41 REAL(wp) :: hginn_u ! initial ice thickness in the north 42 REAL(wp) :: aginn_u ! initial leads area in the north 43 REAL(wp) :: hginn_d ! initial ice thickness in the north 44 REAL(wp) :: aginn_d ! initial leads area in the north 45 REAL(wp) :: hnins ! initial snow thickness in the south 46 REAL(wp) :: hgins_u ! initial ice thickness in the south 47 REAL(wp) :: agins_u ! initial leads area in the south 48 REAL(wp) :: hgins_d ! initial ice thickness in the south 49 REAL(wp) :: agins_d ! initial leads area in the south 50 REAL(wp) :: sinn ! initial salinity 51 REAL(wp) :: sins ! 38 39 !! * Module variables 40 ! !!** init namelist (namiceini) ** 41 REAL(wp) :: ttest ! threshold water temperature for initial sea ice 42 REAL(wp) :: hninn ! initial snow thickness in the north 43 REAL(wp) :: hnins ! initial snow thickness in the south 44 REAL(wp) :: hginn ! initial ice thickness in the north 45 REAL(wp) :: hgins ! initial ice thickness in the south 46 REAL(wp) :: aginn ! initial leads area in the north 47 REAL(wp) :: agins ! initial leads area in the south 48 REAL(wp) :: sinn ! initial salinity 49 REAL(wp) :: sins 52 50 53 51 !!---------------------------------------------------------------------- … … 483 481 !! 8.5 ! 07-11 (M. Vancoppenolle) rewritten initialization 484 482 !!----------------------------------------------------------------------------- 485 <<<<<<< .courant 483 NAMELIST/namiceini/ ttest, hninn, hnins, hginn, hgins, aginn, agins, sinn, sins 484 ! 486 485 INTEGER :: ios ! Local integer output status for namelist read 487 NAMELIST/namiceini/ ttest, hninn, hginn_u, aginn_u, hginn_d, aginn_d, hnins, &488 & hgins_u, agins_u, hgins_d, agins_d, sinn, sins489 =======490 NAMELIST/namiceini/ ttest, hninn, hnins, hginn, hgins, aginn, agins, sinn, sins491 >>>>>>> .fusion-droit.r4160492 486 !!----------------------------------------------------------------------------- 493 <<<<<<< .courant494 487 ! 495 488 REWIND( numnam_ice_ref ) ! Namelist namiceini in reference namelist : Ice initial state … … 501 494 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namiceini in configuration namelist', lwp ) 502 495 WRITE ( numoni, namiceini ) 503 =======504 496 505 497 ! Define the initial parameters 506 498 ! ------------------------- 507 499 508 ! Read Namelist namiceini509 REWIND ( numnam_ice )510 READ ( numnam_ice , namiceini )511 >>>>>>> .fusion-droit.r4160512 500 IF(lwp) THEN 513 501 WRITE(numout,*) -
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90
r4152 r4166 106 106 END DO 107 107 #if defined key_iomput 108 CALL xios_context_finalize() ! needed for XIOS+AGRIF108 CALL iom_context_finalize( "nemo" ) ! needed for XIOS+AGRIF 109 109 #endif 110 110 -
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/DIA/diahsb.F90
r4162 r4166 26 26 USE restart ! ocean restart 27 27 USE wrk_nemo ! work arrays 28 USE sbcrnf ! river runoffd 28 29 29 30 IMPLICIT NONE … … 196 197 !! 197 198 NAMELIST/namhsb/ ln_diahsb 199 ! 200 INTEGER :: ios 198 201 !!---------------------------------------------------------------------- 199 ! 200 REWIND ( numnam ) ! Read Namelist namhsb 201 READ ( numnam, namhsb ) 202 203 IF(lwp) THEN 204 WRITE(numout,*) 205 WRITE(numout,*) 'dia_hsb_init : check the heat and salt budgets' 206 WRITE(numout,*) '~~~~~~~~ ' 207 ENDIF 208 209 REWIND( numnam_ref ) ! Namelist namhsb in reference namelist 210 READ ( numnam_ref, namhsb, IOSTAT = ios, ERR = 901) 211 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namhsb in reference namelist', lwp ) 212 213 REWIND( numnam_cfg ) ! Namelist namhsb in configuration namelist 214 READ ( numnam_cfg, namhsb, IOSTAT = ios, ERR = 902 ) 215 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namhsb in configuration namelist', lwp ) 216 WRITE ( numond, namhsb ) 217 202 218 ! 203 219 IF(lwp) THEN ! Control print 204 220 WRITE(numout,*) 205 WRITE(numout,*) 'dia_hsb_init : check the heat and salt budgets'206 WRITE(numout,*) '~~~~~~~~~~~~'207 221 WRITE(numout,*) ' Namelist namhsb : set hsb parameters' 208 222 WRITE(numout,*) ' Switch for hsb diagnostic (T) or not (F) ln_diahsb = ', ln_diahsb -
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90
r4147 r4166 431 431 ierr = dia_wri_alloc () 432 432 ierr = ierr + dom_oce_alloc () ! ocean domain 433 ierr = ierr + lib_mpp_alloc (numout) ! mpp exchanges434 433 ALLOCATE( snwice_mass(jpi,jpj) , snwice_mass_b(jpi,jpj), & 435 434 & snwice_fmass(jpi,jpj), STAT= ierr4 ) -
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/SAS_SRC/step.F90
r3769 r4166 72 72 kstp = nit000 + Agrif_Nb_Step() 73 73 # if defined key_iomput 74 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap 74 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( "nemo" ) 75 75 # endif 76 76 #endif 77 IF( kstp == nit000 ) CALL iom_init 77 IF( kstp == nit000 ) CALL iom_init( "nemo" ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 78 78 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) 79 CALL iom_setkt( kstp ) ! say to iom that we are at time step kstp79 CALL iom_setkt( kstp, "nemo" ) ! say to iom that we are at time step kstp 80 80 81 81 CALL sbc ( kstp ) ! Sea Boundary Condition (including sea-ice) … … 87 87 CALL stp_ctl( kstp, indic ) 88 88 #if defined key_iomput 89 IF( kstp == nitend ) CALL xios_context_finalize() ! needed for XIOS+AGRIF89 IF( kstp == nitend ) CALL iom_context_finalize( "nemo" ) ! needed for XIOS+AGRIF 90 90 #endif 91 91 !
Note: See TracChangeset
for help on using the changeset viewer.