Skip to content

Commit

Permalink
Fixed some array allocation bugs and made new test environment for gl…
Browse files Browse the repository at this point in the history
…obal realistic bombardment
  • Loading branch information
daminton committed Nov 1, 2021
1 parent a0fe831 commit 5456394
Show file tree
Hide file tree
Showing 76 changed files with 15,536 additions and 204 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ build/src/CTEM
*.swp


build/

configure

config/
Expand Down
13 changes: 5 additions & 8 deletions examples/global-lunar-bombardment/ctem.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ testxoffset 0.0 ! x-axis offset of crater center fr
testyoffset 0.0 ! y-axis offset of crater center from grid center (m) - Default 0.0
tallyonly F ! Tally the craters without generating any craters
testtally F
quasimc T ! MC run constrained by non-MC 'real' craters given in a list
realcraterlist craterlist.in ! list of 'real' craters for Quasi-MC runs



! IDL driver in uts
interval 6.280
numintervals 100 ! Total number of intervals (total time = interval * numintervals) <--when runtype is 'single'
interval 628
numintervals 1 ! Total number of intervals (total time = interval * numintervals) <--when runtype is 'single'
restart F ! Restart a previous run
impfile NPFextrap.dat ! Impactor SFD rate file (col 1: Dimp (m), col 2: ! impactors > D (m**(-2) y**(-1))
popupconsole F ! Pop up console window every output interval
Expand Down Expand Up @@ -69,7 +66,7 @@ doangle T ! Vary the impact angle. Set to
Kd1 0.0001
psi 2.000
fe 4.00
ejecta_truncation 4.0
dorays T
ejecta_truncation 10.0
dorays F
superdomain F

dorealistic F
4 changes: 2 additions & 2 deletions examples/global-lunar-bombardment/ctem_driver.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/local/bin/python
#!/usr/bin/env python3
#
#Cratered Terrain Evolution Model driver
#
Expand Down Expand Up @@ -224,4 +224,4 @@

#Close updateable fracdonefile and regodepthfile files
fp_frac.close()
fp_reg.close()
fp_reg.close()
4 changes: 4 additions & 0 deletions examples/global-lunar-bombardment/params.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
5
6.0
4.0

2 changes: 1 addition & 1 deletion examples/morphology_test_cases/complex/CTEM
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions examples/morphology_test_cases/complex/ctem_draw_surf.py
4 changes: 4 additions & 0 deletions examples/morphology_test_cases/complex/params.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
5
6.0
4.0

2 changes: 2 additions & 0 deletions examples/morphology_test_cases/complex/reset.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
rsync -va savestate/* .
Loading

0 comments on commit 5456394

Please sign in to comment.