Skip to content

Commit

Permalink
build based on ef6fecd
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Mar 28, 2024
1 parent e2fc598 commit dfc7a03
Show file tree
Hide file tree
Showing 14 changed files with 59 additions and 39 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-28T14:12:51","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-28T18:30:53","documenter_version":"1.3.0"}}
20 changes: 10 additions & 10 deletions dev/API/index.html

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions dev/DeltaPotential/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dev/HarmonicOscillator/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dev/HydrogenAtom/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dev/InfinitePotentialWell/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dev/MorsePotential/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dev/PoschlTeller/index.html

Large diffs are not rendered by default.

Binary file modified dev/assets/fig/DeltaPotential_4_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/assets/fig/DeltaPotential_5_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions dev/index.html

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions dev/jmd/DeltaPotential.jmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,19 @@ plot!(xlim=[-2,2], ylim=[0,2.5], legend=false)
plot!(xlabel="x", ylabel="ψ(x)", title="Delta Potential")
```

Potential energy curve, Energy levels, Wave functions:

```julia
DP = DeltaPotential(α=0.1, m=0.5, ℏ=0.1)
x = LinRange(-2,2,500);

using Plots
plot(xlim=[-2,2], ylim=[-1,2.0], legend=false, xlabel="\$x\$", ylabel="\$V(x),~E,~\\psi(x)+E\$")
plot!([-2,0,0,0,2], [0,0,-1,0,0], lw=1, lc=:black) # plot!(x, x->V(DP,x), lw=1, lc=:black)
plot!(x, x->ψ(DP,x) + E(DP), lw=2, lc=1)
hline!([E(DP)], lw=1, ls=:dash, lc=:black)
```

## Testing

Unit testing and Integration testing were done using numerical integration ([QuadGK.jl](https://juliamath.github.io/QuadGK.jl/stable/)). The test script is [here](https://github.com/ohno/Antique.jl/blob/main/test/DeltaPotential.jl).
Expand Down
Binary file modified dev/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion dev/search_index.js

Large diffs are not rendered by default.

0 comments on commit dfc7a03

Please sign in to comment.