Changeset 4648 for LMDZ6/branches


Ignore:
Timestamp:
Aug 11, 2023, 5:06:49 PM (16 months ago)
Author:
idelkadi
Message:

Correction: variable allocation already done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/setup_aerosol_optics_lmdz_m.F90

    r4647 r4648  
    113113
    114114    ! Allocate memory for mapping arrays
    115     ao%ntype = ao%n_type_phobic + ao%n_type_philic
    116     allocate(ao%iclass(ao%ntype))
    117     allocate(ao%itype(ao%ntype))
     115!    ao%ntype = ao%n_type_phobic + ao%n_type_philic
     116!    allocate(ao%iclass(ao%ntype))
     117!    allocate(ao%itype(ao%ntype))
    118118
    119     ao%iclass = IAerosolClassUndefined
    120     ao%itype  = 0
     119!    ao%iclass = IAerosolClassUndefined
     120!    ao%itype  = 0
    121121
    122122  end subroutine setup_aerosol_optics_lmdz
Note: See TracChangeset for help on using the changeset viewer.