Skip to content

Commit f86cac2

Browse files
committed
Merge branch 'ap-mckenzie-temp' of https://github.com/APiccolo89/GeophysicalModelGenerator.jl into ap-mckenzie-temp
2 parents 68a88a1 + 9c1f855 commit f86cac2

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

docs/src/man/geodynamic_setups.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ GeophysicalModelGenerator.LithosphericTemp
2020
GeophysicalModelGenerator.ConstantPhase
2121
GeophysicalModelGenerator.Compute_Phase
2222
GeophysicalModelGenerator.LithosphericPhases
23+
GeophysicalModelGenerator.McKenzie_subducting_slab
2324
```

src/Setup_geometry.jl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,18 @@ end
10631063
"""
10641064
Compute_ThermalStructure(Temp, X, Y, Z, s::McKenzie_subducting_slab)
10651065
1066-
Compute the temperature field of a `McKenzie_subducting_slab` scenario
1066+
Compute the temperature field of a `McKenzie_subducting_slab`. Uses the analytical solution
1067+
of McKenzie (1969) ["Speculations on the consequences and causes of plate motions"]. The functions assumes
1068+
that the bottom of the slab is the coordinate Z=0. Internally the function shifts the coordinate.
1069+
Parameters
1070+
=============================
1071+
Temp Temperature array
1072+
X X Array
1073+
Y Y Array
1074+
Z Z Array
1075+
Phase Phase array
1076+
s McKenzie_subducting_slab
1077+
10671078
"""
10681079
function Compute_ThermalStructure(Temp, X, Y, Z,Phase, s::McKenzie_subducting_slab)
10691080
@unpack Tsurface, Tmantle, Adiabat, v_cm_yr, κ, it = s

0 commit comments

Comments
 (0)