Skip to content

Commit

Permalink
Fixed bad interface
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jul 23, 2021
1 parent 638bd45 commit 5abbc6b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/ejecta/module_ejecta.f90
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ subroutine ejecta_emplace(user,surf,crater,domain,ejb,ejtble,deltaMtot,age,age_r
end subroutine ejecta_emplace
end interface

interface
subroutine ejecta_ray_pattern(user,surf,crater,inc,xi,xf,yi,yf,ejdistribution)
use module_globals
type(usertype),intent(in) :: user
type(surftype),dimension(:,:),intent(in) :: surf
type(cratertype),intent(in) :: crater
integer(I4B),intent(in) :: inc,xi,xf,yi,yf
real(DP),dimension(xi:xf,yi:yf),intent(out) :: ejdistribution
end subroutine ejecta_ray_pattern
interface
subroutine ejecta_ray_pattern(user,surf,crater,inc,xi,xf,yi,yf,diffdistribution,ejdistribution)
use module_globals
implicit none
type(usertype),intent(in) :: user
type(surftype),dimension(:,:),intent(in) :: surf
type(cratertype),intent(inout) :: crater
integer(I4B),intent(in) :: inc,xi,xf,yi,yf
real(DP),dimension(xi:xf,yi:yf),intent(out) :: diffdistribution
real(DP),dimension(xi:xf,yi:yf),intent(out) :: ejdistribution
end subroutine ejecta_ray_pattern
end interface

interface
Expand Down

0 comments on commit 5abbc6b

Please sign in to comment.