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/dyn3dmem/dynetat0_loc.F90

    r4050 r4052  
    174174   !           Rayleigh distillation las.
    175175    iName = tracers(iq)%iso_iName
     176    IF(.NOT.ok_isotopes .OR. iName <= 0) CYCLE
    176177    iZone = tracers(iq)%iso_iZone
    177178    iPhase= tracers(iq)%iso_iPhase
    178179    iqParent = tracers(iq)%iqParent
    179     IF(ok_isotopes .AND. iName>0) THEN
    180       IF(iZone==0) q(:,:,iq) = q(:,:,iqParent)*tnat(iName)    &
    181      &           *(q(:,:,iqParent)/30.e-3)**(alpha_ideal(iName)-1.)
    182       IF(iZone==1) q(:,:,iq) = q(:,:,iqiso(iso_indnum(iq),iPhase))
    183     END IF
     180    IF(iZone==0) q(:,:,iq) = q(:,:,iqParent)*tnat(iName)    &
     181     &         *(q(:,:,iqParent)/30.e-3)**(alpha_ideal(iName)-1.)
     182    IF(iZone==1) q(:,:,iq) = q(:,:,iqiso(iso_indnum(iq),iPhase))
    184183  END DO
    185184  DEALLOCATE(q_glo)
Note: See TracChangeset for help on using the changeset viewer.