Changeset 4038 for LMDZ6/trunk/libf
- Timestamp:
- Dec 1, 2021, 8:27:42 AM (3 years ago)
- Location:
- LMDZ6/trunk/libf/dyn3dmem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3dmem/advtrac_loc.F
r2622 r4038 156 156 * pk,teta ) 157 157 158 !write(*,*) 'advtrac 162: apres appel vlspltgen_loc'159 if (ok_iso_verif) then160 call check_isotopes(q,ijb_u,ije_u,'advtrac 162')161 endif !if (ok_iso_verif) then162 163 158 #ifdef DEBUG_IO 164 159 do j=1,nqtot -
LMDZ6/trunk/libf/dyn3dmem/check_isotopes_loc.F
r2281 r4038 24 24 parameter (errmaxrel=1e-3) 25 25 parameter (qmin=1e-11) 26 parameter (deltaDmax= 200.0,deltaDmin=-999.9)26 parameter (deltaDmax=1000.0,deltaDmin=-999.0) 27 27 parameter (ridicule=1e-12) 28 28 real deltaD … … 30 30 if (ok_isotopes) then 31 31 32 !write(*,*) 'check_isotopes 31: err_msg=',err_msg32 ! write(*,*) 'check_isotopes 31: err_msg=',err_msg 33 33 ! verifier que rien n'est NaN 34 34 do ixt=1,ntraciso … … 45 45 write(*,*) 'q,i,k,iq=',q(i,k,iq),i,k,iq 46 46 write(*,*) 'borne=',borne 47 stop47 call abort_gcm('check_isotopes_loc','plantage iso',0) 48 48 endif !if ((x(ixt,i,j).gt.-borne).and. 49 49 enddo !DO i = ijb,ije … … 53 53 enddo !do ixt=1,ntraciso 54 54 55 !write(*,*) 'check_isotopes 52'55 ! write(*,*) 'check_isotopes 52' 56 56 ! verifier que l'eau normale est OK 57 57 if (use_iso(1)) then … … 71 71 write(*,*) 'q,iq,i,k=',q(i,k,iq),iq,i,k 72 72 write(*,*) 'q(i,k,phase)=',q(i,k,phase) 73 stop73 call abort_gcm('check_isotopes_loc','plantage iso',0) 74 74 endif !if ((abs(q(i,k,phase)-q(i,k,iq)).gt.errmax).and. 75 75 ! bidouille pour éviter divergence: … … 81 81 endif !if (use_iso(1)) then 82 82 83 !write(*,*) 'check_isotopes 78'83 ! write(*,*) 'check_isotopes 78' 84 84 ! verifier que HDO est raisonable 85 85 if (use_iso(2)) then … … 99 99 write(*,*) 'q=',q(i,k,:) 100 100 write(*,*) 'deltaD=',deltaD 101 stop101 call abort_gcm('check_isotopes_loc','plantage iso',0) 102 102 endif !if ((deltaD.gt.deltaDmax).or.(deltaD.lt.deltaDmin)) then 103 103 endif !if (q(i,k,iq).gt.qmin) then … … 108 108 endif !if (use_iso(2)) then 109 109 110 !write(*,*) 'check_isotopes 103'110 ! write(*,*) 'check_isotopes 103' 111 111 ! verifier que O18 est raisonable 112 112 if (use_iso(3)) then … … 126 126 write(*,*) 'xt=',q(i,k,:) 127 127 write(*,*) 'deltaO18=',deltaD 128 stop128 call abort_gcm('check_isotopes_loc','plantage iso',0) 129 129 endif !if ((deltaD.gt.deltaDmax).or.(deltaD.lt.deltaDmin)) then 130 130 endif !if (q(i,k,iq).gt.qmin) then … … 136 136 137 137 138 !write(*,*) 'check_isotopes 129'138 ! write(*,*) 'check_isotopes 129' 139 139 if (ok_isotrac) then 140 140 … … 158 158 write(*,*) 'ixt,ieau=',ixt,ieau 159 159 write(*,*) 'q,iq,i,k,=',q(i,k,iq),iq,i,k 160 write(*,*) 'deltaD=',deltaD 161 stop160 write(*,*) 'deltaD=',deltaD 161 call abort_gcm('check_isotopes_loc','plantage iso',0) 162 162 endif !if ((deltaD.gt.deltaDmax).or. 163 163 endif !if (q(i,k,iq).gt.qmin) then … … 190 190 write(*,*) 'i,k,=',i,k 191 191 write(*,*) 'q(i,k,:)=',q(i,k,:) 192 stop192 call abort_gcm('check_isotopes_loc','plantage iso',0) 193 193 endif !if ((abs(q(i,k,phase)-q(i,k,iq)).gt.errmax).and. 194 194 … … 209 209 210 210 endif ! if (ok_isotopes) 211 !write(*,*) 'check_isotopes 198'211 ! write(*,*) 'check_isotopes 198' 212 212 213 213 end
Note: See TracChangeset
for help on using the changeset viewer.