- Timestamp:
- 2016-08-12T15:16:24+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6522_SIMPLIF_3/NEMOGCM/NEMO/OPA_SRC/BDY/bdyini.F90
r6140 r6862 13 13 !! 3.4 ! 2012 (J. Chanut) straight open boundary case update 14 14 !! 3.5 ! 2012 (S. Mocavero, I. Epicoco) optimization of BDY communications 15 !!---------------------------------------------------------------------- 16 #if defined key_bdy 17 !!---------------------------------------------------------------------- 18 !! 'key_bdy' Unstructured Open Boundary Conditions 15 !! 3.7 ! 2016 (T. Lovato) Remove bdy macro, call here init for dta and tides 19 16 !!---------------------------------------------------------------------- 20 17 !! bdy_init : Initialization of unstructured open boundaries … … 23 20 USE dom_oce ! ocean space and time domain 24 21 USE bdy_oce ! unstructured open boundary conditions 22 USE bdydta ! open boundary cond. setting (bdy_dta_init routine) 23 USE bdytides ! open boundary cond. setting (bdytide_init routine) 25 24 USE sbctide , ONLY: lk_tide ! Tidal forcing or not 26 25 USE phycst , ONLY: rday … … 94 93 INTEGER :: nbdyind, nbdybeg, nbdyend 95 94 !! 96 NAMELIST/nambdy/ nb_bdy, ln_coords_file, cn_coords_file,&95 NAMELIST/nambdy/ ln_bdy, nb_bdy, ln_coords_file, cn_coords_file, & 97 96 & ln_mask_file, cn_mask_file, cn_dyn2d, nn_dyn2d_dta, & 98 97 & cn_dyn3d, nn_dyn3d_dta, cn_tra, nn_tra_dta, & 99 98 & ln_tra_dmp, ln_dyn3d_dmp, rn_time_dmp, rn_time_dmp_out, & 100 & cn_ice_lim, nn_ice_lim_dta, &101 & rn_ice_tem, rn_ice_sal, rn_ice_age, &99 & cn_ice_lim, nn_ice_lim_dta, & 100 & rn_ice_tem, rn_ice_sal, rn_ice_age, & 102 101 & ln_vol, nn_volctl, nn_rimwidth 103 102 ! … … 108 107 IF( nn_timing == 1 ) CALL timing_start('bdy_init') 109 108 ! 110 IF(lwp) WRITE(numout,*)111 IF(lwp) WRITE(numout,*) 'bdy_init : initialization of open boundaries'112 IF(lwp) WRITE(numout,*) '~~~~~~~~'113 !114 IF( jperio /= 0 ) CALL ctl_stop( 'Cyclic or symmetric,', &115 & ' and general open boundary condition are not compatible' )116 117 109 cgrid = (/'t','u','v'/) 118 110 … … 133 125 ! ----------------------------------------- 134 126 ! ! control prints 135 IF(lwp) WRITE(numout,*) ' nambdy' 127 IF ( ln_bdy ) THEN 128 IF(lwp) WRITE(numout,*) 129 IF(lwp) WRITE(numout,*) 'bdy_init : initialization of open boundaries' 130 IF(lwp) WRITE(numout,*) '~~~~~~~~' 131 ELSE 132 IF(lwp) WRITE(numout,*) 133 IF(lwp) WRITE(numout,*) 'bdy_init : open boundaries not used (ln_bdy = F)' 134 IF(lwp) WRITE(numout,*) '~~~~~~~~' 135 IF( nn_timing == 1 ) CALL timing_stop('bdy_init') 136 return 137 ENDIF 138 139 IF( jperio /= 0 ) CALL ctl_stop( 'bdy_init: Cyclic or symmetric,', & 140 & ' and general open boundary condition are not compatible' ) 136 141 137 142 IF( nb_bdy == 0 ) THEN … … 1300 1305 CALL wrk_dealloc(jpi,jpj, zfmask ) 1301 1306 ! 1307 ! Open boundaries initialisation of external data arrays 1308 CALL bdy_dta_init 1309 ! 1310 ! Open boundaries initialisation of tidal harmonic forcing 1311 IF( lk_tide ) CALL bdytide_init 1312 1313 ! 1302 1314 IF( nn_timing == 1 ) CALL timing_stop('bdy_init') 1303 1315 ! … … 1713 1725 END SUBROUTINE bdy_ctl_corn 1714 1726 1715 #else1716 !!---------------------------------------------------------------------------------1717 !! Dummy module NO open boundaries1718 !!---------------------------------------------------------------------------------1719 CONTAINS1720 SUBROUTINE bdy_init ! Dummy routine1721 END SUBROUTINE bdy_init1722 #endif1723 1724 1727 !!================================================================================= 1725 1728 END MODULE bdyini
Note: See TracChangeset
for help on using the changeset viewer.