Ignore:
Timestamp:
Jan 26, 2009 2:44:20 PM (13 years ago)
Author:
raasch
Message:

bugfixes concerning cpu time measurements and calculation of spectra in case of multigrid method switched on

File:
1 edited

Legend:

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

    r198 r225  
    44! Actual revisions:
    55! -----------------
    6 !
     6! Bugfix: array d is reallocated in case that multigrid is used
    77!
    88! Former revisions:
     
    5555!-- Initialize ffts
    5656    CALL fft_init
     57
     58!
     59!-- Reallocate array d in required size
     60    IF ( psolver == 'multigrid' )  THEN
     61       DEALLOCATE( d )
     62       ALLOCATE( d(nzb+1:nzta,nys:nyna,nxl:nxra) )
     63    ENDIF
    5764
    5865!
Note: See TracChangeset for help on using the changeset viewer.