Changeset d2a5a83 in flexpart.git for src/outgrid_init_nest.f90
- Timestamp:
- Dec 4, 2017, 1:18:12 PM (6 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 01e6052
- Parents:
- 0ecc1fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/outgrid_init_nest.f90
r0ecc1fe rd2a5a83 83 83 end if 84 84 #endif 85 !if (ldirect.gt.0) then86 if (lroot.and.mpi_mode.gt.0) then87 allocate(wetgriduncn0(0:numxgridn-1,0:numygridn-1,maxspec, &88 maxpointspec_act,nclassunc,maxageclass),stat=stat)89 if (stat.ne.0) write(*,*)'ERROR:could not allocate nested gridunc'90 allocate(drygriduncn0(0:numxgridn-1,0:numygridn-1,maxspec, &91 maxpointspec_act,nclassunc,maxageclass),stat=stat)92 if (stat.ne.0) write(*,*)'ERROR:could not allocate nested gridunc'85 if (ldirect.gt.0) then 86 if (lroot.and.mpi_mode.gt.0) then 87 allocate(wetgriduncn0(0:numxgridn-1,0:numygridn-1,maxspec, & 88 maxpointspec_act,nclassunc,maxageclass),stat=stat) 89 if (stat.ne.0) write(*,*)'ERROR:could not allocate nested gridunc' 90 allocate(drygriduncn0(0:numxgridn-1,0:numygridn-1,maxspec, & 91 maxpointspec_act,nclassunc,maxageclass),stat=stat) 92 if (stat.ne.0) write(*,*)'ERROR:could not allocate nested gridunc' 93 93 ! endif 94 94 ! allocate a dummy to avoid compilator complaints 95 else if (.not.lroot.and.mpi_mode.gt.0) then 96 allocate(wetgriduncn0(1,1,1,1,1,1),stat=stat) 97 allocate(drygriduncn0(1,1,1,1,1,1),stat=stat) 95 else if (.not.lroot.and.mpi_mode.gt.0) then 96 allocate(wetgriduncn0(1,1,1,1,1,1),stat=stat) 97 allocate(drygriduncn0(1,1,1,1,1,1),stat=stat) 98 end if 98 99 end if 99 100
Note: See TracChangeset
for help on using the changeset viewer.