Ignore:
Timestamp:
Sep 20, 2024, 1:10:18 PM (8 weeks ago)
Author:
Laurent Fairhead
Message:

Merge with trunk revision 5202 before reintegration to trunk

Location:
LMDZ6/branches/cirrus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/cirrus

  • LMDZ6/branches/cirrus/libf/dyn3d/check_isotopes.F90

    r5202 r5203  
    33   USE infotrac,    ONLY: nqtot, niso, nphas, isotope, isoCheck, iqIsoPha, isoSelect, &
    44                          ntiso, iH2O, nzone, tracers, isoName,  itZonIso, getKey
     5#ifdef CPP_IOIPSL
     6   USE ioipsl,          ONLY: getin
     7#else
     8   USE ioipsl_getincom, ONLY: getin
     9#endif
    510   IMPLICIT NONE
    611   include "dimensions.h"
     
    2025                      deltaDmin =-999.0, &
    2126                      ridicule  = 1e-12
    22    INTEGER, SAVE :: iso_eau, iso_HDO, iso_O18, &
    23                              iso_O17, iso_HTO
    24    LOGICAL, SAVE :: first=.TRUE.
    25    LOGICAL, PARAMETER :: tnat1=.TRUE.
     27   INTEGER, SAVE :: iso_eau, iso_O17, iso_O18, iso_HDO, iso_HTO
     28   LOGICAL, SAVE :: ltnat1, first=.TRUE.
    2629
    2730   modname='check_isotopes'
     
    3033   IF(niso == 0)        RETURN                   !--- No isotopes => finished
    3134   IF(first) THEN
     35      ltnat1 = .TRUE.; CALL getin('tnateq1', ltnat1)
     36      ALLOCATE(tnat(niso))
    3237      iso_eau = strIdx(isoName,'H216O')
     38      iso_O17 = strIdx(isoName,'H217O')
     39      iso_O18 = strIdx(isoName,'H218O')
    3340      iso_HDO = strIdx(isoName,'HDO')
    34       iso_O18 = strIdx(isoName,'H218O')
    35       iso_O17 = strIdx(isoName,'H217O')
    3641      iso_HTO = strIdx(isoName,'HTO')
    37       if (tnat1) then
    38               tnat(:)=1.0
    39       else
     42      IF(ltnat1) THEN
     43         tnat(:)=1.0
     44      ELSE
    4045         IF(getKey('tnat', tnat)) CALL abort_gcm(modname, 'missing isotopic parameter', 1)
    41       endif
     46      END IF
    4247      first = .FALSE.
    4348   END IF
     
    5156         DO k = 1, llm
    5257            DO i = 1, ip1jmp1
    53                IF(ABS(q(i,k,iq)) < borne) CYCLE
     58               IF(ABS(q(i,k,iq)) <= borne) CYCLE
    5459               WRITE(msg1,'(s,"(",i0,",",i0,",",i0,") = ",ES12.4)')TRIM(isoName(ixt)),i,k,iq,q(i,k,iq)
    5560               CALL msg(msg1, modname)
Note: See TracChangeset for help on using the changeset viewer.