Ignore:
Timestamp:
Jul 30, 2008 7:07:47 AM (16 years ago)
Author:
raasch
Message:

bugfixes + adjustments for SGI ICE system

File:
1 edited

Legend:

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

    r163 r181  
    77! Actual revisions:
    88! -----------------
     9! Bugfix: zero assignments to tendency arrays in case of restarts
    910! Further amendments to and modifications in the initialisation of the plant
    1011! canopy model
    1112! Allocation of hom_sum moved to parin, initialization of spectrum_x|y directly
    1213! after allocating theses arrays,
    13 ! read data for recycling added as new initialization option
     14! read data for recycling added as new initialization option,
     15! dummy allocation for diss
    1416!
    1517! Former revisions:
     
    235237    IF ( use_sgs_for_particles )  THEN
    236238       ALLOCATE ( diss(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) )
     239    ELSE
     240       ALLOCATE ( diss(2,2,2) )  ! required because diss is used as a
     241                                 ! formal parameter
    237242    ENDIF
    238243
     
    10461051       IF ( humidity  .OR.  passive_scalar )  q_p = q
    10471052       IF ( ocean )  sa_p = sa
     1053
     1054!
     1055!--    Allthough tendency arrays are set in prognostic_equations, they have
     1056!--    have to be predefined here because they are used (but multiplied with 0)
     1057!--    there before they are set.
     1058       IF ( timestep_scheme(1:5) == 'runge' )  THEN
     1059          te_m = 0.0; tpt_m = 0.0; tu_m = 0.0; tv_m = 0.0; tw_m = 0.0
     1060          IF ( humidity  .OR.  passive_scalar )  tq_m = 0.0
     1061          IF ( ocean )  tsa_m = 0.0
     1062       ENDIF
    10481063
    10491064    ELSE
Note: See TracChangeset for help on using the changeset viewer.