Ignore:
Timestamp:
Dec 26, 2021, 10:27:36 PM (2 years ago)
Author:
dcugnet
Message:

Fixes for previous commit:

  • few tracers(:)%nqChilds were errouneously replaced with tarcers(:)%nqDesc
  • minor changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/dynetat0.f90

    r4050 r4052  
    137137   !           Rayleigh distillation law.
    138138    iName = tracers(iq)%iso_iName
     139    IF(.NOT.ok_isotopes .OR. iName<=0) CYCLE
    139140    iZone = tracers(iq)%iso_iZone
    140141    iPhase= tracers(iq)%iso_iPhase
    141142    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))
    147146  END DO
    148147
Note: See TracChangeset for help on using the changeset viewer.