Changeset 54cbd6c in flexpart.git for src/concoutput.f90


Ignore:
Timestamp:
Sep 30, 2016, 11:01:54 AM (8 years ago)
Author:
Sabine <sabine.eckhardt@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
9669e1e
Parents:
dced13c
Message:

all f90 files for dry/wet backward mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/concoutput.f90

    r462f74b r54cbd6c  
    246246
    247247    write(anspec,'(i3.3)') ks
    248     if ((iout.eq.1).or.(iout.eq.3).or.(iout.eq.5)) then
    249       if (ldirect.eq.1) then
    250         open(unitoutgrid,file=path(2)(1:length(2))//'grid_conc_'//adate// &
    251              atime//'_'//anspec,form='unformatted')
    252       else
    253         open(unitoutgrid,file=path(2)(1:length(2))//'grid_time_'//adate// &
    254              atime//'_'//anspec,form='unformatted')
    255       endif
    256       write(unitoutgrid) itime
    257     endif
    258 
    259     if ((iout.eq.2).or.(iout.eq.3)) then      ! mixing ratio
    260       open(unitoutgridppt,file=path(2)(1:length(2))//'grid_pptv_'//adate// &
     248
     249    if (DRYBKDEP.or.WETBKDEP) then !scavdep output
     250      if (DRYBKDEP) &
     251      open(unitoutgrid,file=path(2)(1:length(2))//'grid_drydep_'//adate// &
    261252           atime//'_'//anspec,form='unformatted')
    262 
    263       write(unitoutgridppt) itime
    264     endif
    265 
    266     if (iout.eq.6) then !scavdep output
    267       open(unitoutgrid,file=path(2)(1:length(2))//'grid_scav_'//adate// &
     253      if (WETBKDEP) &
     254      open(unitoutgrid,file=path(2)(1:length(2))//'grid_wetdep_'//adate// &
    268255           atime//'_'//anspec,form='unformatted')
    269256      write(unitoutgrid) itime
    270      endif
     257    else
     258      if ((iout.eq.1).or.(iout.eq.3).or.(iout.eq.5)) then
     259        if (ldirect.eq.1) then
     260          open(unitoutgrid,file=path(2)(1:length(2))//'grid_conc_'//adate// &
     261             atime//'_'//anspec,form='unformatted')
     262        else
     263          open(unitoutgrid,file=path(2)(1:length(2))//'grid_time_'//adate// &
     264             atime//'_'//anspec,form='unformatted')
     265        endif
     266        write(unitoutgrid) itime
     267      endif
     268      if ((iout.eq.2).or.(iout.eq.3)) then      ! mixing ratio
     269        open(unitoutgridppt,file=path(2)(1:length(2))//'grid_pptv_'//adate// &
     270           atime//'_'//anspec,form='unformatted')
     271        write(unitoutgridppt) itime
     272      endif
     273    endif ! if deposition output
    271274
    272275    do kp=1,maxpointspec_act
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG