Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed order craterlist.in is read in crater_populate
  • Loading branch information
blevins2 committed Jan 19, 2022
1 parent a0503df commit 66816b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/global-lunar-bombardment/craterlist.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Dcrat(m) vel(m/s) ang(deg) xoffset(km) yoffset(km) t(Ga)
#Dcrat(m) vel(m/s) ang(deg) xoffset(m) yoffset(m) t(Ga)
2050000 18300.0 45.0 -2908888.89 -1848000.0 4.31
690000 18300.0 45.0 889777.778 -157422.222 4.309
264656 18300.0 45.0 1186318.17 -534322.694 4.308
Expand Down
4 changes: 2 additions & 2 deletions src/crater/crater_populate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
user%testimp = rclist(1, rccount)
user%testvel = rclist(2, rccount)
user%testang = rclist(3, rccount)
user%testxoffset = rclist(5, rccount) !x-offset is longitude
user%testyoffset = rclist(4, rccount) !y-offset is latitude
user%testxoffset = rclist(4, rccount)
user%testyoffset = rclist(5, rccount)
end if
end if
! generate random crater
Expand Down

0 comments on commit 66816b7

Please sign in to comment.