Skip to content

Commit 355b9ce

Browse files
committed
typos
1 parent 8678a49 commit 355b9ce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Setup_geometry.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,9 +1496,9 @@ julia> Phase = ones(Int64,size(Cart));
14961496
julia> Temp = fill(1350.0,size(Cart));
14971497
# Define the trench:
14981498
julia> trench= Trench(n_seg_xy=1, A = [400.0,400.0],B = [800.0,800.0],θ_max = 45.0, direction = 1.0, n_seg = 50, L0 = 600.0, D0 = 80.0, Lb = 500.0,d_decoupling = 100.0, type_bending =:Ribe)
1499-
julia> strat = LithosphericPhases(Layers=[5 7 88], Phases = [2 3 4], Tlab=nothing)
1499+
julia> phase = LithosphericPhases(Layers=[5 7 88], Phases = [2 3 4], Tlab=nothing)
15001500
julia> TsHC = HalfspaceCoolingTemp(Tsurface=20.0, Tmantle=1350, Age=30, Adiabat=0.4)
1501-
julia> addSlab!(Phase, Temp, Cart, trench, phase = strat, T = TsHC)
1501+
julia> addSlab!(Phase, Temp, Cart, trench, phase = phase, T = TsHC)
15021502
```
15031503
15041504
"""

test/test_setup_geometry.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ t1 = Trench(n_seg_xy=1, A = [400.0,400.0],B = [800.0,800.0],θ_max = 45.0, direc
230230
@test t1.L0 == 600.0
231231
@test t1.Lb == 500.0
232232

233-
strat = LithosphericPhases(Layers=[5 7 88], Phases = [2 3 4], Tlab=nothing)
233+
phase = LithosphericPhases(Layers=[5 7 88], Phases = [2 3 4], Tlab=nothing)
234234
TsHC = HalfspaceCoolingTemp(Tsurface=20.0, Tmantle=1350, Age=30, Adiabat=0.4)
235235
temp = TsHC;
236236

237-
addSlab!(Phase,Temp,Cart, t1, phase=strat, T = TsHC)
237+
addSlab!(Phase,Temp,Cart, t1, phase=phase, T = TsHC)
238238

239239
Data_Final = CartData(X,Y,Z,(Phase=Phase,Temp=Temp))
240240

@@ -254,7 +254,7 @@ TsMK = McKenzie_subducting_slab(Tsurface = 20.0, Tmantle = 1350.0, v_cm_yr = 4.0
254254
T_slab = LinearWeightedTemperature(crit_dist=600, F1=TsHC, F2=TsMK);
255255
t1 = Trench(n_seg_xy=1, A = [400.0,400.0],B = [800.0,800.0],θ_max = 90.0, direction = 1.0, n_seg = 50, L0 = 600.0, D0 = 80.0, Lb = 500.0,d_decoupling = 100.0, type_bending =:Ribe)
256256

257-
addSlab!(Phase,Temp,Cart, t1, phase=strat, T = TsHC)
257+
addSlab!(Phase,Temp,Cart, t1, phase=phase, T = TsHC)
258258

259259

260260
Data_Final = CartData(X,Y,Z,(Phase=Phase,Temp=Temp))

0 commit comments

Comments
 (0)