- Timestamp:
- 2016-11-28T17:04:10+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_INGV_UKMO_2016/NEMOGCM/TOOLS/SIREN/src/domain.f90
r5617 r7351 1297 1297 !> @date September, 2014 1298 1298 !> - take into account number of ghost cell 1299 !> @date February, 2016 1300 !> - number of extra point is the MAX (not the MIN) of zero and asess value. 1299 1301 ! 1300 1302 !> @param[inout] td_dom domain strcuture … … 1344 1346 td_dom%i_imin = td_dom%i_imin - td_dom%i_iextra(1) 1345 1347 ELSE ! td_dom%i_imin - il_iext <= td_dom%i_ghost0(jp_I,1)*ip_ghost 1346 td_dom%i_iextra(1) = M IN(0, &1348 td_dom%i_iextra(1) = MAX(0, & 1347 1349 & td_dom%i_imin - & 1348 1350 & td_dom%i_ghost0(jp_I,1)*ip_ghost -1) … … 1356 1358 ELSE ! td_dom%i_imax + il_iext >= & 1357 1359 ! td_dom%t_dim0(1)%i_len - td_dom%i_ghost0(jp_I,2)*ip_ghost 1358 td_dom%i_iextra(2) = M IN(0, &1360 td_dom%i_iextra(2) = MAX( 0, & 1359 1361 & td_dom%t_dim0(1)%i_len - & 1360 1362 & td_dom%i_ghost0(jp_I,2)*ip_ghost - & … … 1364 1366 1365 1367 ELSE ! td_dom%i_ew0 >= 0 1368 1366 1369 ! EW cyclic 1367 1370 IF( td_dom%i_imin - il_iext > 0 )THEN … … 1391 1394 ! nothing to be done 1392 1395 ELSE 1396 1393 1397 IF( td_dom%i_jmin - il_jext > td_dom%i_ghost0(jp_J,1)*ip_ghost )THEN 1394 1398 td_dom%i_jextra(1) = il_jext 1395 1399 td_dom%i_jmin = td_dom%i_jmin - td_dom%i_jextra(1) 1396 1400 ELSE ! td_dom%i_jmin - il_jext <= td_dom%i_ghost0(jp_J,1)*ip_ghost 1397 td_dom%i_jextra(1) = M IN(0, &1401 td_dom%i_jextra(1) = MAX( 0, & 1398 1402 & td_dom%i_jmin - & 1399 1403 & td_dom%i_ghost0(jp_J,1)*ip_ghost - 1) … … 1407 1411 ELSE ! td_dom%i_jmax + il_jext >= & 1408 1412 ! td_dom%t_dim0(2)%i_len - td_dom%i_ghost0(jp_J,2)*ip_ghost 1409 td_dom%i_jextra(2) = M IN(0, &1413 td_dom%i_jextra(2) = MAX( 0, & 1410 1414 & td_dom%t_dim0(2)%i_len - & 1411 1415 & td_dom%i_ghost0(jp_J,2)*ip_ghost - &
Note: See TracChangeset
for help on using the changeset viewer.