Changeset 154
- Timestamp:
- 11/08/17 16:29:28 (6 years ago)
- Location:
- trunk/SOURCES
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SOURCES/flottab2-0.7.f90
r145 r154 1335 1335 integer,dimension(0:n_ta_max) :: compt_marais !< contient les equivalence entre les taches 1336 1336 integer,dimension(0:n_ta_max) :: nb_pts_marais !< indique le nombre de points par tache 1337 logical,dimension(0:n_ta_max) :: marais !< T si iceberg, F si calotte posee1337 logical,dimension(0:n_ta_max) :: marais !< T si flottants entoure de poses, F sinon 1338 1338 1339 1339 ! 1-initialisation … … 1381 1381 1382 1382 !si un des voisins n'est pas glace alors la tache n'est pas un marais 1383 do pm=-1,1,2 1384 if ( (ice(i+pm,j).eq.0) .or. (ice(i,j+pm).eq.0) ) then 1385 marais(label)=.false. 1386 endif 1387 enddo 1383 if ( (ice(i+1,j).eq.0) .or. (ice(i,j+1).eq.0) .or. (ice(i-1,j).eq.0) .or. (ice(i,j-1).eq.0) ) then 1384 marais(label)=.false. 1385 endif 1388 1386 1389 1387 ! si 2 taches differentes sont dans le masque, il faut les identifier dans compt … … 1404 1402 1405 1403 !si un des voisins n'est pas glace alors la tache n'est pas un marais 1406 do pm=-1,1,2 1407 if ( (ice(i+pm,j).eq.0) .or. (ice(i,j+pm).eq.0) ) then 1408 marais(label_max)=.false. 1409 endif 1410 enddo 1404 if ( (ice(i+1,j).eq.0) .or. (ice(i,j+1).eq.0) .or. (ice(i-1,j).eq.0) .or. (ice(i,j-1).eq.0) ) then 1405 marais(label_max)=.false. 1406 endif 1411 1407 1412 1408 … … 1424 1420 enddo 1425 1421 1426 1422 marais(0)=.false. 1427 1423 1428 1424 ! On reorganise compt en ecrivant le numero de la tache fondamentale … … 1439 1435 1440 1436 !$OMP PARALLEL 1441 !$OMP DO REDUCTION(+:nb_pts_ tache)1437 !$OMP DO REDUCTION(+:nb_pts_marais) 1442 1438 do j=1,ny 1443 1439 do i=1,nx … … 1457 1453 enddo 1458 1454 1455 debug_3D(:,:,64)=real(table_out_marais(:,:)) 1456 1459 1457 end subroutine determin_marais 1460 1458 -
trunk/SOURCES/spinup_mod.f90
r130 r154 606 606 end do 607 607 end do 608 debug_3D(:,:,63)=ux_deformation(:,:)609 debug_3D(:,:,64)=uy_deformation(:,:)608 !debug_3D(:,:,63)=ux_deformation(:,:) 609 !debug_3D(:,:,64)=uy_deformation(:,:) 610 610 611 611 if (itracebug.eq.1) call tracebug(' fin de calc_ubar_def ')
Note: See TracChangeset
for help on using the changeset viewer.