Changeset 14 for readTracFiles_mod.f90


Ignore:
Timestamp:
Mar 2, 2022, 6:33:27 PM (3 years ago)
Author:
dcugnet
Message:

The additional phase modifications were missing in the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readTracFiles_mod.f90

    r13 r14  
    4242  !--- SOME PARAMETERS THAT ARE NOT LIKELY TO CHANGE OFTEN
    4343  CHARACTER(LEN=maxlen), SAVE      :: tran0        = 'air'           !--- Default transporting fluid
    44   CHARACTER(LEN=maxlen), PARAMETER :: old_phases   = 'vli'           !--- Old phases for water (no separator)
    45   CHARACTER(LEN=maxlen), PARAMETER :: known_phases = 'gls'           !--- Known phases initials
     44  CHARACTER(LEN=maxlen), PARAMETER :: old_phases   = 'vlir'          !--- Old phases for water (no separator)
     45  CHARACTER(LEN=maxlen), PARAMETER :: known_phases = 'glsr'          !--- Known phases initials
    4646  INTEGER,               PARAMETER :: nphases=LEN_TRIM(known_phases) !--- Number of phases
    4747  CHARACTER(LEN=maxlen), SAVE      :: phases_names(nphases) &        !--- Known phases names
    48                                 = ['gaseous', 'liquid ', 'solid  ']
     48                                = ['gaseous', 'liquid ', 'solid  ', 'cloud  ']
    4949  CHARACTER(LEN=1), SAVE :: phases_sep  =  '_'                       !--- Phase separator
    5050  LOGICAL,          SAVE :: tracs_merge = .TRUE.                     !--- Merge/stack tracers lists
     
    761761  tm => dBase(idb)%trac
    762762  nq = SIZE(tm)
    763   !--- BEWARE ! Can't always already use the "getKeyByName" functions.
     763  !--- BEWARE ! Can't use the "getKeyByName" functions yet.
    764764  !             Names must first include the phases for tracers defined on multiple lines.
    765765  hadv = str2int([(fgetKey(iq, 'hadv',  tm(:)%keys, '10'), iq=1, nq)])
Note: See TracChangeset for help on using the changeset viewer.