Changeset 2236 for branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/opa.F90
- Timestamp:
- 2010-10-12T20:49:32+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/opa.F90
r2224 r2236 25 25 !! - ! 2007-07 (J. Chanut, A. Sellar) Unstructured open boundaries (BDY) 26 26 !! 3.2 ! 2009-08 (S. Masson) open/write in the listing file in mpp 27 !! 3.3 ! 2010-10 (C. Ethe, G. Madec) reorganisation of initialisation phase 27 !! 3.3 ! 2010-05 (K. Mogensen, A. Weaver, M. Martin, D. Lea) Assimilation interface 28 !! - ! 2010-10 (C. Ethe, G. Madec) reorganisation of initialisation phase 28 29 !!---------------------------------------------------------------------- 29 30 … … 47 48 USE zdfini 48 49 USE phycst ! physical constant (par_cst routine) 50 USE trdmod ! momentum/tracers trends (trd_mod_init routine) 51 USE asminc ! assimilation increments (asm_inc_init routine) 52 USE asmtrj ! writing out state trajectory 53 USE sshwzv ! vertical velocity used in asm 54 USE diaptr ! poleward transports (dia_ptr_init routine) 55 USE diaobs ! Observation diagnostics (dia_obs_init routine) 49 56 USE step ! OPA time-stepping (stp routine) 50 57 #if defined key_oasis3 … … 53 60 USE cpl_oasis4 ! OASIS4 coupling (not working) 54 61 #endif 62 #if defined key_c1d 55 63 USE c1d ! 1D configuration 56 64 USE step_c1d ! Time stepping loop for the 1D configuration 65 #endif 57 66 #if defined key_top 58 67 USE trcini ! passive tracer initialisation … … 74 83 !! NEMO/OPA 3.3 , LOCEAN-IPSL (2010) 75 84 !! $Id$ 76 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)85 !! Software governed by the CeCILL licence (NEMOGCM/License_CeCILL.txt) 77 86 !!---------------------------------------------------------------------- 78 87 … … 114 123 ! !-----------------------! 115 124 istp = nit000 116 IF( lk_c1d ) THEN !== 1D configuration ==! 125 #if defined key_c1d 117 126 DO WHILE ( istp <= nitend .AND. nstop == 0 ) 118 127 CALL stp_c1d( istp ) 119 128 istp = istp + 1 120 129 END DO 121 ELSE !== 3D ocean with ==! 130 #else 131 IF( lk_asminc ) THEN 132 IF( ln_bkgwri ) CALL asm_bkg_wri( nit000 - 1 ) ! Output background fields 133 IF( ln_trjwri ) CALL asm_trj_wri( nit000 - 1 ) ! Output trajectory fields 134 IF( ln_asmdin ) THEN ! Direct initialization 135 IF( ln_trainc ) CALL tra_asm_inc( nit000 - 1 ) ! Tracers 136 IF( ln_dyninc ) THEN 137 CALL dyn_asm_inc( nit000 - 1 ) ! Dynamics 138 IF ( ln_asmdin ) CALL ssh_wzv ( nit000 - 1 ) ! update vertical velocity 139 ENDIF 140 IF( ln_sshinc ) CALL ssh_asm_inc( nit000 - 1 ) ! SSH 141 ENDIF 142 ENDIF 143 122 144 DO WHILE ( istp <= nitend .AND. nstop == 0 ) 123 145 #if defined key_agrif … … 129 151 IF( lk_mpp ) CALL mpp_max( nstop ) 130 152 END DO 131 ENDIF 153 #endif 154 155 IF( lk_diaobs ) CALL dia_obs_wri 132 156 133 157 ! !------------------------! … … 184 208 #else 185 209 # if defined key_oasis3 || defined key_oasis4 186 CALL cpl_prism_init( ilocal_comm ) ! nemo local communicator given by oasis 210 IF( Agrif_Root() ) THEN 211 CALL cpl_prism_init( ilocal_comm ) ! nemo local communicator given by oasis 212 ENDIF 187 213 narea = mynode( cltxt, ilocal_comm ) ! Nodes selection (control print return in cltxt) 188 214 # else … … 222 248 ELSE ; CALL mpp_init2 ! eliminate land processors 223 249 ENDIF 250 !!gm c1d case can be moved in dom_init routine 251 #if defined key_c1d 252 CALL cor_c1d ! Coriolis defined at T-point 253 umask(:,:,:) = tmask(:,:,:) ! U, V and T-points are the same 254 vmask(:,:,:) = tmask(:,:,:) ! 255 #endif 256 !!gm c1d end 224 257 225 258 ! ! General initialization … … 282 315 CALL dia_hsb_init ! heat content, salt content and volume budgets 283 316 CALL trd_mod_init ! Mixed-layer/Vorticity/Integral constraints trends 317 IF( lk_diaobs ) THEN 318 CALL dia_obs_init ! Initialize observational data 319 CALL dia_obs( nit000 - 1 ) ! Observation operator for restart 320 ENDIF 321 IF( lk_asminc ) CALL asm_inc_init ! Initialize assimilation increments 322 IF(lwp) WRITE(numout,*)'Euler time step switch is ', neuler 323 284 324 ! 285 325 END SUBROUTINE opa_init
Note: See TracChangeset
for help on using the changeset viewer.