Changeset 4245 for branches/2013/dev_LOCEAN_CMCC_INGV_MERC_UKMO_2013/NEMOGCM/NEMO/OPA_SRC/C1D/dtauvd.F90
- Timestamp:
- 2013-11-19T12:19:21+01:00 (10 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_CMCC_INGV_MERC_UKMO_2013/NEMOGCM/NEMO/OPA_SRC/C1D/dtauvd.F90
r4244 r4245 26 26 PUBLIC dta_uvd ! called by istate.F90 and dyndmp.90 27 27 28 LOGICAL , PUBLIC :: ln_uvd_init = .FALSE.! Flag to initialise with U & V current data29 LOGICAL , PUBLIC :: ln_uvd_dyndmp = .FALSE.! Flag for Newtonian damping toward U & V current data28 LOGICAL , PUBLIC :: ln_uvd_init ! Flag to initialise with U & V current data 29 LOGICAL , PUBLIC :: ln_uvd_dyndmp ! Flag for Newtonian damping toward U & V current data 30 30 31 31 TYPE(FLD), ALLOCATABLE, DIMENSION(:) :: sf_uvd ! structure for input U & V current (file information and data) … … 59 59 !! 60 60 NAMELIST/namc1d_uvd/ ln_uvd_init, ln_uvd_dyndmp, cn_dir, sn_ucur, sn_vcur 61 INTEGER :: ios 61 62 !!---------------------------------------------------------------------- 62 63 ! … … 64 65 ! 65 66 ierr0 = 0 ; ierr1 = 0 ; ierr2 = 0 ; ierr3 = 0 66 ! 67 cn_dir = './' ! default: directory in which the model is executed 68 ! 69 ! !== read namelist namc1d_uvd: flags and field info ==! 70 71 ! ! default values (NB: frequency positive => hours, negative => months) 72 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation ! 73 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs ! 74 sn_ucur = FLD_N( 'ucurrent', -1 , 'u_current', .false. , .true. , 'monthly' , '' , 'Ume' ) 75 sn_vcur = FLD_N( 'vcurrent', -1 , 'v_current', .false. , .true. , 'monthly' , '' , 'Vme' ) 76 77 REWIND( numnam ) ! Read in namelist namc1d_uvd 78 READ ( numnam, namc1d_uvd ) 67 68 REWIND( numnam_ref ) ! Namelist namc1d_uvd in reference namelist : 69 READ ( numnam_ref, namc1d_uvd, IOSTAT = ios, ERR = 901) 70 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namc1d_uvd in reference namelist', lwp ) 71 72 REWIND( numnam_cfg ) ! Namelist namc1d_uvd in configuration namelist : Parameters of the run 73 READ ( numnam_cfg, namc1d_uvd, IOSTAT = ios, ERR = 902 ) 74 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namc1d_uvd in configuration namelist', lwp ) 75 WRITE ( numond, namc1d_uvd ) 79 76 80 77 ! ! force the initialization when dyndmp is used
Note: See TracChangeset
for help on using the changeset viewer.