Ignore:
Timestamp:
Sep 28, 2018 10:23:08 AM (6 years ago)
Author:
suehring
Message:

Bugfix in allocation of mean_inflow_profiles in case of restarts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_3d_model.f90

    r3274 r3288  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Introduce module parameter for number of inflow profiles
    2323!
    2424! Former revisions:
     
    798798    ALLOCATE( drho_air(nzb:nzt+1) )
    799799    ALLOCATE( drho_air_zw(nzb:nzt+1) )
    800 
    801800!
    802801!-- Density profile calculation for anelastic approximation
     
    12351234             ENDDO
    12361235          ENDIF
    1237 
    12381236!
    12391237!--       Set velocity components at non-atmospheric / oceanic grid points to
     
    16381636!--       profiles from the prerun. Alternatively, prescribed profiles
    16391637!--       for u,v-components can be used.
    1640           ALLOCATE( mean_inflow_profiles(nzb:nzt+1,7) )
     1638          ALLOCATE( mean_inflow_profiles(nzb:nzt+1,1:num_mean_inflow_profiles) )
    16411639
    16421640          IF ( use_prescribed_profile_data )  THEN
Note: See TracChangeset for help on using the changeset viewer.