Changeset 5203 for LMDZ6/branches/cirrus/libf/dyn3d/check_isotopes.F90
- Timestamp:
- Sep 20, 2024, 1:10:18 PM (8 weeks ago)
- Location:
- LMDZ6/branches/cirrus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/cirrus
- Property svn:mergeinfo changed
/LMDZ6/trunk merged: 5181,5183-5184,5188-5191,5196-5201
- Property svn:mergeinfo changed
-
LMDZ6/branches/cirrus/libf/dyn3d/check_isotopes.F90
r5202 r5203 3 3 USE infotrac, ONLY: nqtot, niso, nphas, isotope, isoCheck, iqIsoPha, isoSelect, & 4 4 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 5 10 IMPLICIT NONE 6 11 include "dimensions.h" … … 20 25 deltaDmin =-999.0, & 21 26 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. 26 29 27 30 modname='check_isotopes' … … 30 33 IF(niso == 0) RETURN !--- No isotopes => finished 31 34 IF(first) THEN 35 ltnat1 = .TRUE.; CALL getin('tnateq1', ltnat1) 36 ALLOCATE(tnat(niso)) 32 37 iso_eau = strIdx(isoName,'H216O') 38 iso_O17 = strIdx(isoName,'H217O') 39 iso_O18 = strIdx(isoName,'H218O') 33 40 iso_HDO = strIdx(isoName,'HDO') 34 iso_O18 = strIdx(isoName,'H218O')35 iso_O17 = strIdx(isoName,'H217O')36 41 iso_HTO = strIdx(isoName,'HTO') 37 if (tnat1) then38 39 else42 IF(ltnat1) THEN 43 tnat(:)=1.0 44 ELSE 40 45 IF(getKey('tnat', tnat)) CALL abort_gcm(modname, 'missing isotopic parameter', 1) 41 endif46 END IF 42 47 first = .FALSE. 43 48 END IF … … 51 56 DO k = 1, llm 52 57 DO i = 1, ip1jmp1 53 IF(ABS(q(i,k,iq)) < borne) CYCLE58 IF(ABS(q(i,k,iq)) <= borne) CYCLE 54 59 WRITE(msg1,'(s,"(",i0,",",i0,",",i0,") = ",ES12.4)')TRIM(isoName(ixt)),i,k,iq,q(i,k,iq) 55 60 CALL msg(msg1, modname)
Note: See TracChangeset
for help on using the changeset viewer.