Changeset 4052 for LMDZ6/trunk/libf/dyn3d
- Timestamp:
- Dec 26, 2021, 10:27:36 PM (3 years ago)
- Location:
- LMDZ6/trunk/libf/dyn3d
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/dynetat0.f90
r4050 r4052 137 137 ! Rayleigh distillation law. 138 138 iName = tracers(iq)%iso_iName 139 IF(.NOT.ok_isotopes .OR. iName<=0) CYCLE 139 140 iZone = tracers(iq)%iso_iZone 140 141 iPhase= tracers(iq)%iso_iPhase 141 142 iqParent = tracers(iq)%iqParent 142 IF(ok_isotopes .AND. iName>0) THEN 143 IF(iZone==0) q(:,:,:,iq) = q(:,:,:,iqParent)*tnat(iName) & 144 *(q(:,:,:,iqParent)/30.e-3)**(alpha_ideal(iName)-1.) 145 IF(iZone==1) q(:,:,:,iq) = q(:,:,:,iqiso(iso_indnum(iq),iPhase)) 146 END IF 143 IF(iZone==0) q(:,:,:,iq) = q(:,:,:,iqParent)*tnat(iName) & 144 *(q(:,:,:,iqParent)/30.e-3)**(alpha_ideal(iName)-1.) 145 IF(iZone==1) q(:,:,:,iq) = q(:,:,:,iqiso(iso_indnum(iq),iPhase)) 147 146 END DO 148 147 -
LMDZ6/trunk/libf/dyn3d/iniacademic.F90
r4050 r4052 278 278 do iq=1,nqtot 279 279 q(:,:,iq)=0. 280 ! IF(tracers(iq)%name == 'H2O'//phases_sep//'g') q(:,:,iq)=1.e-10 281 ! IF(tracers(iq)%name == 'H2O'//phases_sep//'l') q(:,:,iq)=1.e-15 280 282 IF(tracers(iq)%name == 'H2Ov') q(:,:,iq)=1.e-10 281 283 IF(tracers(iq)%name == 'H2Ol') q(:,:,iq)=1.e-15 … … 284 286 ! distill de Rayleigh très simplifiée 285 287 iName = tracers(iq)%iso_iName 288 if (.NOT.ok_isotopes .OR. iName <= 0) CYCLE 286 289 iZone = tracers(iq)%iso_iZone 287 290 iPhase= tracers(iq)%iso_iPhase 288 291 iqParent = tracers(iq)%iqParent 289 if (ok_isotopes .AND. iName > 0) then 290 if (iZone == 0) q(:,:,iq) = q(:,:,iqParent)*tnat(iName) & 291 *(q(:,:,iqParent)/30.e-3)**(alpha_ideal(iName)-1) 292 if (iZone == 1) q(:,:,iq) = q(:,:,iqiso(iso_indnum(iq),iPhase)) 293 endif !if (ok_isotopes) then 294 292 if (iZone == 0) q(:,:,iq) = q(:,:,iqParent)*tnat(iName) & 293 *(q(:,:,iqParent)/30.e-3)**(alpha_ideal(iName)-1) 294 if (iZone == 1) q(:,:,iq) = q(:,:,iqiso(iso_indnum(iq),iPhase)) 295 295 enddo 296 296 else -
LMDZ6/trunk/libf/dyn3d/vlsplt.F
r4050 r4052 464 464 enddo 465 465 enddo 466 do ifils=1,tracers(iq)%nq Descen466 do ifils=1,tracers(iq)%nqChilds 467 467 iq2=tracers(iq)%iqDescen(ifils) 468 468 call vlx(Ratio,pente_max,masseq,u_mq,iq2) … … 1015 1015 enddo 1016 1016 1017 do ifils=1,tracers(iq)%nq Descen1017 do ifils=1,tracers(iq)%nqChilds 1018 1018 iq2=tracers(iq)%iqDescen(ifils) 1019 1019 call vlz(Ratio,pente_max,masseq,wq,iq2) -
LMDZ6/trunk/libf/dyn3d/vlspltqs.F
r4050 r4052 786 786 ! CRisi: appel récursif de l'advection sur les fils. 787 787 ! Il faut faire ça avant d'avoir mis à jour q et masse 788 !write(*,*) 'vlyqs 689: iq,nq Desc(iq)=',iq,tracers(iq)%nqDescen788 !write(*,*) 'vlyqs 689: iq,nqChilds(iq)=',iq,tracers(iq)%nqChilds 789 789 790 790 do ifils=1,tracers(iq)%nqDescen
Note: See TracChangeset
for help on using the changeset viewer.