- Timestamp:
- 2016-10-28T11:13:57+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6999_CONFIGMAN_1/NEMOGCM/TOOLS/SIREN/src/merge_bathy.f90
r7026 r7153 51 51 !> - cn_varcfg : variable configuration file 52 52 !> (see ./SIREN/cfg/variable.cfg) 53 !> - cn_dimcfg : dimension configuration file. define dimension allowed to 54 !> be used (see ./SIREN/cfg/dimension.cfg). 53 55 !> - cn_dumcfg : useless (dummy) configuration file, for useless 54 56 !> dimension or variable (see ./SIREN/cfg/dummy.cfg). … … 133 135 !> @date October, 2016 134 136 !> - allow to choose the number of boundary point with coarse grid value. 137 !> - dimension to be used select from configuration file 135 138 !> 136 139 !> @note Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 211 214 212 215 ! namcfg 213 CHARACTER(LEN=lc) :: cn_varcfg = 'variable.cfg' 214 CHARACTER(LEN=lc) :: cn_dumcfg = 'dummy.cfg' 216 CHARACTER(LEN=lc) :: cn_varcfg = './cfg/variable.cfg' 217 CHARACTER(LEN=lc) :: cn_dimcfg = './cfg/dimension.cfg' 218 CHARACTER(LEN=lc) :: cn_dumcfg = './cfg/dummy.cfg' 215 219 216 220 ! namcrs … … 252 256 NAMELIST /namcfg/ & !< config namelist 253 257 & cn_varcfg, & !< variable configuration file 258 & cn_dimcfg, & !< dimension configuration file 254 259 & cn_dumcfg !< dummy configuration file 255 260 … … 324 329 CALL var_def_extra(TRIM(cn_varcfg)) 325 330 331 ! get dimension allowed 332 CALL dim_def_extra(TRIM(cn_dimcfg)) 333 326 334 ! get dummy variable 327 335 CALL var_get_dummy(TRIM(cn_dumcfg)) … … 626 634 DEALLOCATE(dl_weight) 627 635 CALL boundary_clean(tl_bdy(:)) 636 CALL var_clean_extra() 628 637 629 638 ! close log file … … 850 859 il_width=td_bdy%t_seg(jl)%i_width-id_ncrs 851 860 ! compute "distance" 852 dl_tmp1d(:)=(/(ji,ji=il_width -1,1,-1),(0,ji=1,id_ncrs)/)861 dl_tmp1d(:)=(/(ji,ji=il_width,1,-1),(0,ji=1,id_ncrs)/) 853 862 854 863 ! compute weight on segment … … 869 878 il_width=td_bdy%t_seg(jl)%i_width-id_ncrs 870 879 ! compute "distance" 871 dl_tmp1d(:)=(/(0,ji=1,id_ncrs),(ji,ji=1,il_width -1)/)880 dl_tmp1d(:)=(/(0,ji=1,id_ncrs),(ji,ji=1,il_width)/) 872 881 873 882 ! compute weight on segment … … 888 897 il_width=td_bdy%t_seg(jl)%i_width-id_ncrs 889 898 ! compute "distance" 890 dl_tmp1d(:)=(/(ji,ji=il_width -1,1,-1),(0,ji=1,id_ncrs)/)899 dl_tmp1d(:)=(/(ji,ji=il_width,1,-1),(0,ji=1,id_ncrs)/) 891 900 892 901 ! compute weight on segment … … 907 916 il_width=td_bdy%t_seg(jl)%i_width-id_ncrs 908 917 ! compute "distance" 909 dl_tmp1d(:)=(/(0,ji=1,id_ncrs),(ji,ji=1,il_width -1)/)918 dl_tmp1d(:)=(/(0,ji=1,id_ncrs),(ji,ji=1,il_width)/) 910 919 911 920 ! compute weight on segment
Note: See TracChangeset
for help on using the changeset viewer.