Changeset 4399 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Jan 27, 2023, 12:35:36 AM (23 months ago)
Author:
dcugnet
Message:

Change the names of the water isotopes: no more "and?" separators for atomic numbers.

Location:
LMDZ6/trunk/libf
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/check_isotopes.F90

    r4367 r4399  
    2929   IF(niso == 0)        RETURN                   !--- No isotopes => finished
    3030   IF(first) THEN
    31       iso_eau = strIdx(isoName,'H2[16]O')
    32       iso_HDO = strIdx(isoName,'H[2]HO')
    33       iso_O18 = strIdx(isoName,'H2[18]O')
    34       iso_O17 = strIdx(isoName,'H2[17]O')
    35       iso_HTO = strIdx(isoName,'H[3]HO')
     31      iso_eau = strIdx(isoName,'H216O')
     32      iso_HDO = strIdx(isoName,'HDO')
     33      iso_O18 = strIdx(isoName,'H218O')
     34      iso_O17 = strIdx(isoName,'H217O')
     35      iso_HTO = strIdx(isoName,'HTO')
    3636      IF(getKey('tnat', tnat)) CALL abort_gcm(modname, 'missing isotopic parameter', 1)
    3737      first = .FALSE.
  • LMDZ6/trunk/libf/dyn3dmem/check_isotopes_loc.F90

    r4367 r4399  
    3232   IF(first) THEN
    3333!$OMP MASTER
    34       iso_eau = strIdx(isoName,'H2[16]O')
    35       iso_HDO = strIdx(isoName,'H[2]HO')
    36       iso_O18 = strIdx(isoName,'H2[18]O')
    37       iso_O17 = strIdx(isoName,'H2[17]O')
    38       iso_HTO = strIdx(isoName,'H[3]HO')
     34      iso_eau = strIdx(isoName,'H216O')
     35      iso_HDO = strIdx(isoName,'HDO')
     36      iso_O18 = strIdx(isoName,'H218O')
     37      iso_O17 = strIdx(isoName,'H217O')
     38      iso_HTO = strIdx(isoName,'HTO')
    3939      IF(getKey('tnat', tnat)) CALL abort_gcm(modname, 'missing isotopic parameter', 1)
    4040!$OMP END MASTER
  • LMDZ6/trunk/libf/misc/readTracFiles_mod.f90

    r4394 r4399  
    125125
    126126  !--- CORRESPONDANCE BETWEEN OLD AND NEW WATER NAMES
    127   CHARACTER(LEN=maxlen), SAVE :: oldH2OIso(5) = ['eau',     'HDO',     'O18',     'O17',     'HTO'    ]
    128   CHARACTER(LEN=maxlen), SAVE :: newH2OIso(5) = ['H2[16]O', 'H[2]HO ', 'H2[18]O', 'H2[17]O', 'H[3]HO ']
     127  CHARACTER(LEN=maxlen), SAVE :: oldH2OIso(5) = ['eau',   'HDO',    'O18',   'O17',   'HTO'   ]
     128  CHARACTER(LEN=maxlen), SAVE :: newH2OIso(5) = ['H216O', 'HDO   ', 'H218O', 'H217O', 'HTO  ']
    129129
    130130  !--- CORRESPONDANCE BETWEEN OLD AND NEW HNO3 RELATED SPECIES NAMES
  • LMDZ6/trunk/libf/phylmdiso/isotopes_mod.F90

    r4325 r4399  
    174174
    175175   !--- Type of water isotopes:
    176    iso_eau = strIdx(isoName, 'H2[16]O'); CALL msg('iso_eau='//int2str(iso_eau), modname)
    177    iso_HDO = strIdx(isoName, 'H[2]HO');  CALL msg('iso_HDO='//int2str(iso_HDO), modname)
    178    iso_O18 = strIdx(isoName, 'H2[18]O'); CALL msg('iso_O18='//int2str(iso_O18), modname)
    179    iso_O17 = strIdx(isoName, 'H2[17]O'); CALL msg('iso_O17='//int2str(iso_O17), modname)
    180    iso_HTO = strIdx(isoName, 'H[3]HO');  CALL msg('iso_HTO='//int2str(iso_HTO), modname)
     176   iso_eau = strIdx(isoName, 'H216O'); CALL msg('iso_eau='//int2str(iso_eau), modname)
     177   iso_HDO = strIdx(isoName, 'HDO');   CALL msg('iso_HDO='//int2str(iso_HDO), modname)
     178   iso_O18 = strIdx(isoName, 'H218O'); CALL msg('iso_O18='//int2str(iso_O18), modname)
     179   iso_O17 = strIdx(isoName, 'H217O'); CALL msg('iso_O17='//int2str(iso_O17), modname)
     180   iso_HTO = strIdx(isoName, 'HTO');   CALL msg('iso_HTO='//int2str(iso_HTO), modname)
    181181
    182182   !--- Initialiaation: reading the isotopic parameters.
     
    246246   ! bugs quand temperature dans ascendances convs est mal calculee
    247247   CALL get_in('cond_temp_env',        cond_temp_env,        .FALSE.)
    248    IF(ANY(isoName == 'H[3]HO')) &
     248   IF(ANY(isoName == 'HTO')) &
    249249   CALL get_in('ok_prod_nucl_tritium', ok_prod_nucl_tritium, .FALSE., .FALSE.)
    250250
Note: See TracChangeset for help on using the changeset viewer.