Changeset f3054ea in flexpart.git for src/outgrid_init.f90


Ignore:
Timestamp:
Aug 27, 2020, 8:00:15 PM (4 years ago)
Author:
Espen Sollum <eso@…>
Branches:
GFS_025, dev
Children:
4ab2fbf
Parents:
a756649
Message:

Changed from grib_api to eccodes. MPI: implemented linversionout=1; fixed calculation of grid_initial fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/outgrid_init.f90

    r2eefa58 rf3054ea  
    315315         maxpointspec_act),stat=stat)
    316316    if (stat.ne.0) write(*,*)'ERROR: could not allocate init_cond'
     317    if (mpi_mode.gt.0) then
     318      if (lroot) then
     319        allocate(init_cond0(0:numxgrid-1,0:numygrid-1,numzgrid,maxspec, &
     320             maxpointspec_act),stat=stat)
     321      else
     322        allocate(init_cond0(1,1,1,1,1))
     323      end if
     324    end if
    317325  endif
    318326
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG