Skip to content

Commit

Permalink
Merge branch 'debugGlassMerge' into quasimc
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 17, 2022
2 parents d6a62ec + f4ef3e9 commit 111296f
Show file tree
Hide file tree
Showing 223 changed files with 1,029,390 additions and 1,214 deletions.
29 changes: 24 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@

autom4te.cache/
autom4te.cache/output.*
autom4te.cache/traces.*
autom4te.cache/requests
Makefile.in

*.o


build/src/CTEM

*.mod
Expand All @@ -24,8 +28,6 @@ __pycache__/

*.dat

*.png

*.DS_Store

*.json
Expand All @@ -41,10 +43,27 @@ examples/global-lunar-bombardment/CTEM
!LOLA*.dat
!lunar*.dat
!NPF*.dat
alocal.m4

*.m4

*.eps
examples/mare-with-rays-model2/CTEM


examples/global-lunar-bombardment/CTEM


examples/*/*.o*
*.out

!autogen.sh
*.sh
.vscode/*


examples/global-lunar-bombardment/scale.ipynb
*~

*.m4

Makefile.in
*.code-workspace
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ Alternatively you may wish to use the Python front end.
`$ python3 ctem_driver.py`

The run parameters are controlled by the ctem.in file.

48 changes: 48 additions & 0 deletions autom4te.cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

autom4te.cache/
autom4te.cache/*
Makefile.in

*.o


build/src/CTEM

*.mod

*.swp


build/

configure

config/

examples/global-lunar-bombardment/.DS_Store

examples/mare-with-rays-model2/.DS_Store

__pycache__/

*.dat

*.png

*.DS_Store

alocal.m4

*.m4

*.eps

*.jpg

examples/mare-with-rays-model2/CTEM

examples/global-lunar-bombardment/CTEM

examples/*/*.o*

*.out
5 changes: 4 additions & 1 deletion build/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*
!.gitignore
!.gitignore
config*
Makefile*
src/*
7 changes: 3 additions & 4 deletions configure.ac
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
AC_INIT([Cratered Terrain Evolution Model], [1.1],
[David Minton <daminton@purdue.edu> , James Richardson <jerichardsonjr@me.com>],
[CTEM])
AC_INIT([Cratered Terrain Evolution Model],[1.5],[David Minton <daminton@purdue.edu> , James Richardson <jerichardsonjr@me.com>],[CTEM])
FCFLAGS=""
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_SRCDIR([src/main/CTEM.f90])
Expand All @@ -9,4 +7,5 @@ AC_LANG([Fortran])
AC_PROG_FC([ifort gfortran])
AC_FC_FREEFORM
AC_PROG_INSTALL
AC_OUTPUT([Makefile src/Makefile])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT
2 changes: 2 additions & 0 deletions examples/global-lunar-bombardment/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions examples/global-lunar-bombardment/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions examples/global-lunar-bombardment/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions examples/global-lunar-bombardment/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 100 additions & 0 deletions examples/global-lunar-bombardment/NPF.plt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
#gnuplot 5.0 script
# The Neukum production function
# Neukum, Ivanov, and Hartmann (2001) SSR v. 96 pp. 55-86
N1lunar(T) = 5.44e-14 * (exp(6.93*T) - 1) + 8.38e-4*T
#Units: Nc>1 km per km**2

# Lunar crater SFD
aL00 = -3.0876
aL01 = -3.557528
aL02 = 0.781027
aL03 = 1.021521
aL04 = -0.156012
aL05 = -0.444058
aL06 = 0.019977
aL07 = 0.086850
aL08 = -0.005874
aL09 = -0.006809
aL10 = 8.25e-4
aL11 = 5.54e-5

Nlunar(D) = D < 0.01 ? 1/0 : D > 1000 ? 1/0 : 10**( \
aL00 \
+ aL01 * log10(D)**1 \
+ aL02 * log10(D)**2 \
+ aL03 * log10(D)**3 \
+ aL04 * log10(D)**4 \
+ aL05 * log10(D)**5 \
+ aL06 * log10(D)**6 \
+ aL07 * log10(D)**7 \
+ aL08 * log10(D)**8 \
+ aL09 * log10(D)**9 \
+ aL10 * log10(D)**10 \
+ aL11 * log10(D)**11 )
#Units: Nc>D(km) per km**2 per Gy
#Projectile SFD

aP00 = 0.0
aP01 = -1.375458
aP02 = 1.272521e-1
aP03 = -1.282166
aP04 = -3.074558e-1
aP05 = 4.149280e-1
aP06 = 1.910668e-1
aP07 = -4.260980e-2
aP08 = -3.976305e-2
aP09 = -3.180179e-3
aP10 = 2.799369e-3
aP11 = 6.892223e-4
aP12 = 2.614385e-6
aP13 = -1.416178e-5
aP14 = -1.191124e-6

Rproj(D) = D < 1e-4 ? 1/0 : D > 300 ? 1/0 : 10**( \
aP00 \
+ aP01 * log10(D)**1 \
+ aP02 * log10(D)**2 \
+ aP03 * log10(D)**3 \
+ aP04 * log10(D)**4 \
+ aP05 * log10(D)**5 \
+ aP06 * log10(D)**6 \
+ aP07 * log10(D)**7 \
+ aP08 * log10(D)**8 \
+ aP09 * log10(D)**9 \
+ aP10 * log10(D)**10 \
+ aP11 * log10(D)**11 \
+ aP12 * log10(D)**12 \
+ aP13 * log10(D)**13 \
+ aP14 * log10(D)**14 )


# Mars crater SFD
# Ivanov (2001) SSR v. 96 pp. 87-104
aM00 = -3.384
aM01 = -3.197
aM02 = 1.257
aM03 = 0.7915
aM04 = -0.4861
aM05 = -0.3630
aM06 = 0.1016
aM07 = 6.756e-2
aM08 = -1.181e-2
aM09 = -4.753e-3
aM10 = 6.233e-4
aM11 = 5.805e-5

N1mars(T) = 2.68e-14 * (exp(6.93*T) - 1) + 4.13e-4*T

Nmars(D) = D < 0.01 ? 1/0 : D > 1000 ? 1/0 : 10**( \
aM00 \
+ aM01 * log10(D)**1 \
+ aM02 * log10(D)**2 \
+ aM03 * log10(D)**3 \
+ aM04 * log10(D)**4 \
+ aM05 * log10(D)**5 \
+ aM06 * log10(D)**6 \
+ aM07 * log10(D)**7 \
+ aM08 * log10(D)**8 \
+ aM09 * log10(D)**9 \
+ aM10 * log10(D)**10 \
+ aM11 * log10(D)**11 )
Loading

0 comments on commit 111296f

Please sign in to comment.