- Timestamp:
- 10/20/17 09:31:39 (7 years ago)
- Location:
- branches/iLoveclim
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/iLoveclim
- Property svn:mergeinfo changed
/trunk merged: 124,127-145
- Property svn:mergeinfo changed
-
branches/iLoveclim/SOURCES/conserv-mass-adv-diff_sept2009_mod.f90
r123 r146 416 416 417 417 ! if ((time.lt.time_gl(1)).or.(nt.lt.2)) then ATTENTION test seulement si version prescribe-H_mod.f90 418 call prescribe_present_H_gl ! prescribe present thickness at the grounding line 418 if (ibmelt_inv.eq.0) then 419 call prescribe_present_H_gl ! prescribe present thickness at the grounding line 420 else if (ibmelt_inv.eq.1) then ! inversion bmelt 421 call prescribe_present_H_gl_bmelt ! prescribe only grounding line points 422 else 423 print*,'ibmelt_inv value must be 0 or 1 !!!' 424 stop 425 endif 419 426 ! else 420 427 ! call prescribe_retreat … … 550 557 H(:,:)=max(H(:,:),0.) ! pas d'epaisseur negative 551 558 552 !~ ! calcul du masque "ice"553 !~ where (flot(:,:)) ! points flottants, sera éventuellement réévalué dans flottab554 !~ where(H(:,:).gt.max(Hmin,Hmin+BM(:,:)-Bmelt(:,:)))555 !~ ice(:,:)=1556 !~ elsewhere557 !~ ice(:,:)=0558 !~ H(:,:)=max(1.,min(0.,(sealevel - Bsoc(:,:))*row/ro-0.01))559 !~ endwhere560 !~ ! H(:,:)=max(H(:,:),1.) ! dans la partie marine l'épaisseur mini est 1 m561 !~ ! H(:,:)=max(1.,min(0.,(sealevel - Bsoc(:,:))*row/ro-0.01))562 !~ elsewhere ! points posés563 !~ where(H(:,:).gt.0.)564 !~ ice(:,:)=1565 !~ elsewhere566 !~ ice(:,:)=0567 !~ endwhere568 !~ endwhere569 570 559 ! eventuellement retirer apres spinup ou avoir un cas serac 571 560 Hdot(:,:)=(H(:,:)-vieuxH(:,:))/dt 572 561 !$OMP END WORKSHARE 573 562 574 !~ if (igrdline.ne.3) then 575 !~ !$OMP WORKSHARE 576 !~ Hdot(:,:)=min(Hdot(:,:),10.) 577 !~ Hdot(:,:)=max(Hdot(:,:),-10.) 578 !~ !$OMP END WORKSHARE 579 !~ endif 563 if (ibmelt_inv.eq.1) then ! inversion du bmelt avec igrdline=1 564 !$OMP WORKSHARE 565 where (i_Hp(:,:).eq.1) 566 H(:,:)=Hp(:,:) 567 endwhere 568 !$OMP END WORKSHARE 569 endif 580 570 581 571 !$OMP WORKSHARE 582 where (i_hp(:,:).ne.1)583 H(:,:)=vieuxH(:,:)+Hdot(:,:)*dt584 end where585 586 587 588 572 ! si mk0=-1, on garde l'epaisseur precedente 589 573 ! en attendant un masque plus propre
Note: See TracChangeset
for help on using the changeset viewer.