Skip to content

Commit

Permalink
Added new user input that allows you to truncate the ejecta blanket a…
Browse files Browse the repository at this point in the history
…t a specific radius
  • Loading branch information
daminton committed Feb 9, 2017
1 parent 565dbb1 commit 19b366c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/io/io_input.f90
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ subroutine io_input(infile,user)
user%doporosity = .false.
user%soften_factor = 0.43_DP
user%soften_slope = 1.8_DP
user%discontinuous = .true.
user%ejecta_truncation = 10.0_DP

open(unit=LUN,file=infile,status="old",iostat=ierr)
if (ierr /= 0) then
Expand Down Expand Up @@ -303,11 +303,11 @@ subroutine io_input(infile,user)
call io_get_token(line, ilength, ifirst, ilast, ierr)
token = line(ifirst:ilast)
read(token, *) user%testtally
case ("DISCONTINUOUS") ! Do discontinuous ejecta blanket
case ("EJECTA_TRUNCATION") ! Size of ejecta blankets to model in terms of crater diameter
ifirst = ilast + 1
call io_get_token(line, ilength, ifirst, ilast, ierr)
token = line(ifirst:ilast)
read(token, *) user%discontinuous
read(token, *) user%ejecta_truncation
! Porosity model
case ("POROSITYFLG")
ifirst = ilast + 1
Expand Down

0 comments on commit 19b366c

Please sign in to comment.