Skip to content

Commit 7a8e1bd

Browse files
authored
Added ErpenbeckThoss to the analytic models library (#361)
1 parent efc1154 commit 7a8e1bd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/src/NQCModels/analyticmodels.md

+13
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,16 @@ contour!(x, z, v2, color=:red, levels=0:0.01:0.1, label="V22")
101101
runtime = round(time() - start_time; digits=2)
102102
@info "...done after $runtime s."
103103
```
104+
### [`ErpenbeckThoss`](@ref)
105+
```@example
106+
using NQCModels, Plots
107+
108+
model = ErpenbeckThoss(;Γ=0.01)
109+
ε₀(r) = potential(model, hcat(r))[1,1]
110+
ε₁(r) = potential(model, hcat(r))[2,2]
111+
Vₖ(r) = potential(model, hcat(r))[1,2]
112+
113+
r = range(1.89, 9.45, length=200)
114+
115+
plot(r, [ε₀, ε₁, Vₖ], label=["ε₀(r)" "ε₁(r)" "Vₖ(r)"], xlabel="r (a₀)", ylabel="V(r) (Eₕ)"; coupling=true)
116+
```

0 commit comments

Comments
 (0)