diff --git a/docs/build/HarmonicOscillator.html b/docs/HarmonicOscillator.html similarity index 100% rename from docs/build/HarmonicOscillator.html rename to docs/HarmonicOscillator.html diff --git a/docs/build/HydrogenAtom.html b/docs/HydrogenAtom.html similarity index 100% rename from docs/build/HydrogenAtom.html rename to docs/HydrogenAtom.html diff --git a/docs/build/InfinitePotentialWell.html b/docs/InfinitePotentialWell.html similarity index 100% rename from docs/build/InfinitePotentialWell.html rename to docs/InfinitePotentialWell.html diff --git a/docs/build/MorsePotential.html b/docs/MorsePotential.html similarity index 100% rename from docs/build/MorsePotential.html rename to docs/MorsePotential.html diff --git a/docs/build/assets/documenter.js b/docs/assets/documenter.js similarity index 100% rename from docs/build/assets/documenter.js rename to docs/assets/documenter.js diff --git a/docs/build/assets/logo.ico b/docs/assets/logo.ico similarity index 100% rename from docs/build/assets/logo.ico rename to docs/assets/logo.ico diff --git a/docs/build/assets/logo.svg b/docs/assets/logo.svg similarity index 100% rename from docs/build/assets/logo.svg rename to docs/assets/logo.svg diff --git a/docs/build/assets/search.js b/docs/assets/search.js similarity index 100% rename from docs/build/assets/search.js rename to docs/assets/search.js diff --git a/docs/build/assets/themes/documenter-dark.css b/docs/assets/themes/documenter-dark.css similarity index 100% rename from docs/build/assets/themes/documenter-dark.css rename to docs/assets/themes/documenter-dark.css diff --git a/docs/build/assets/themes/documenter-light.css b/docs/assets/themes/documenter-light.css similarity index 100% rename from docs/build/assets/themes/documenter-light.css rename to docs/assets/themes/documenter-light.css diff --git a/docs/build/assets/themeswap.js b/docs/assets/themeswap.js similarity index 100% rename from docs/build/assets/themeswap.js rename to docs/assets/themeswap.js diff --git a/docs/build/assets/warner.js b/docs/assets/warner.js similarity index 100% rename from docs/build/assets/warner.js rename to docs/assets/warner.js diff --git a/docs/build/HarmonicOscillator.jmd b/docs/build/HarmonicOscillator.jmd deleted file mode 100644 index 79ba2f1..0000000 --- a/docs/build/HarmonicOscillator.jmd +++ /dev/null @@ -1,77 +0,0 @@ -```@meta -CurrentModule = Antiq -``` - -# Harmonic Oscillator - -## Definitions - -```@autodocs -Modules = [HarmonicOscillator] -``` - -## Usage - -[Install Antiq.jl](index.html#Install) the first time. Run following command before use. - -```julia; term = true; cache = true -using Antiq -``` - -The module name is `HarmonicOscillator` or `HO`. For example, the energy function is called as: - -```julia; term = true -HO.E(n=0) -HO.E(n=1) -``` - -where, the default values of the parameters are follows: - -```julia; term = true -HO.k -HO.m -HO.ℏ -``` - -Parameters can be specified by named variables: - -```julia; term = true -HO.E(n=0, k=2) -HO.E(n=1, k=2) -``` - -## Examples - -Wave functions: - -```julia -using Plots -plot(xlim=(-5,5), xlabel="x", ylabel="ψ(x)") -plot!(x -> HO.ψ(x, n=0), label="n=0", lw=2) -plot!(x -> HO.ψ(x, n=1), label="n=1", lw=2) -plot!(x -> HO.ψ(x, n=2), label="n=2", lw=2) -plot!(x -> HO.ψ(x, n=3), label="n=3", lw=2) -plot!(x -> HO.ψ(x, n=4), label="n=4", lw=2) -``` - -Potential curve, Energy levels, Wave functions: - -```julia -using Plots -plot(xlim=(-5.5,5.5), ylim=(-0.2,5.4), xlabel="\$x\$", ylabel="\$V(x),~E_n,~\\psi_n(x)\\times0.5+E_n\$", size=(480,400), dpi=400) -for n in 0:4 - # energy - hline!([HO.E(n=n)], lc=:black, ls=:dash, label="") - plot!([-sqrt(2*HO.k*HO.E(n=n)),sqrt(2*HO.k*HO.E(n=n))], fill(HO.E(n=n),2), lc=:black, lw=2, label="") - # wave function - plot!(x -> HO.E(n=n) + 0.5*HO.ψ(x,n=n), lc=n+1, lw=2, label="") -end -# potential -plot!(x -> HO.V(x), lc=:black, lw=2, label="") -``` - -## Tests - -```julia; line_width = 500 -include("../../test/HarmonicOscillator.jl") -``` diff --git a/docs/build/HydrogenAtom.jmd b/docs/build/HydrogenAtom.jmd deleted file mode 100644 index a675d9a..0000000 --- a/docs/build/HydrogenAtom.jmd +++ /dev/null @@ -1,64 +0,0 @@ -```@meta -CurrentModule = Antiq -``` - -# Hydrogen Atom - -## Definitions - -```@autodocs -Modules = [HydrogenAtom] -``` - -## Usage - -[Install Antiq.jl](index.html#Install) the first time. Run following command before use. - -```julia; term = true; cache = true -using Antiq -``` - -The module name is `MorsePotential` or `MP`. For example, the energy function is called as: - -```julia; term = true -HA.E(n=1) -HA.E(n=2) -``` - -where, the default values of the parameters are follows: - -```julia; term = true -HA.Z -HA.ℏ -HA.Eₕ -HA.a₀ -HA.mₑ -``` - -Parameters can be specified by named variables: - -```julia; term = true -HA.E(n=1, Z=1) -HA.E(n=1, Z=2) -``` - -## Examples - -Radial functions: - -```julia -using Plots -plot(xlabel="\$r~/~a_0\$", ylabel="\$r^2|R_{nl}(r)|^2~/~a_0^{-1}\$", ylims=(-0.01,0.55), xticks=0:1:20, size=(480,400), dpi=400) -for n in 1:3 - for l in 0:n-1 - plot!(0:0.1:20, r->r^2*HA.R(r,n=n,l=l)^2, label="", lc=n, lw=2, ls=[:solid,:dash,:dot,:dashdot,:dashdotdot][l+1]) - end -end -plot!() -``` - -## Tests - -```julia; line_width = 500 -include("../../test/HydrogenAtom.jl") -``` diff --git a/docs/build/InfinitePotentialWell.jmd b/docs/build/InfinitePotentialWell.jmd deleted file mode 100644 index aed2887..0000000 --- a/docs/build/InfinitePotentialWell.jmd +++ /dev/null @@ -1,77 +0,0 @@ -```@meta -CurrentModule = Antiq -``` - -# Infinite PotentialWell - -## Definitions - -```@autodocs -Modules = [InfinitePotentialWell] -``` - -## Usage - -[Install Antiq.jl](index.html#Install) the first time. Run following command before use. - -```julia; term = true; cache = true -using Antiq -``` - -The module name is `InfinitePotentialWell` or `IPW`. For example, the energy function is called as: - -```julia; term = true -IPW.E(n=1) -IPW.E(n=2) -``` - -where, the default values of the parameters are follows: - -```julia; term = true -IPW.L -IPW.m -IPW.ℏ -``` - -Parameters can be specified by named variables: - -```julia; term = true -IPW.E(n=1, L=2) -IPW.E(n=2, L=2) -``` - -## Examples - -Wave functions: - -```julia -using Plots -plot(xlim=(0,1), xlabel="x", ylabel="ψ(x)") -plot!(x -> IPW.ψ(x, n=1), label="n=1", lw=2) -plot!(x -> IPW.ψ(x, n=2), label="n=2", lw=2) -plot!(x -> IPW.ψ(x, n=3), label="n=3", lw=2) -plot!(x -> IPW.ψ(x, n=4), label="n=4", lw=2) -plot!(x -> IPW.ψ(x, n=5), label="n=5", lw=2) -``` - -Potential curve, Energy levels, Wave functions: - -```julia -L = 1 -using Plots -plot(xlim=(-0.5,1.5), ylim=(-5,140), xlabel="\$x\$", ylabel="\$V(x),~E_n,~\\psi_n(x)\\times5+E_n\$", size=(480,400), dpi=400) -for n in 1:5 - # energy - plot!([0,L], fill(IPW.E(n=n,L=L),2), lc=:black, lw=2, label="") - # wave function - plot!(0:0.01:L, x->IPW.E(n=n,L=L)+5*IPW.ψ(x,n=n,L=L), lc=n, lw=2, label="") -end -# potential -plot!([0,0,L,L], [140,0,0,140], lc=:black, lw=2, label="") -``` - -## Tests - -```julia; line_width = 500 -include("../../test/InfinitePotentialWell.jl") -``` \ No newline at end of file diff --git a/docs/build/MorsePotential.jmd b/docs/build/MorsePotential.jmd deleted file mode 100644 index 9552af1..0000000 --- a/docs/build/MorsePotential.jmd +++ /dev/null @@ -1,83 +0,0 @@ -```@meta -CurrentModule = Antiq -``` - -# Morse Potential - -## Definitions - -```@autodocs -Modules = [MorsePotential] -``` - -## Usage - -[Install Antiq.jl](index.html#Install) the first time. Run following command before use. - -```julia; term = true; cache = true -using Antiq -``` - -The module name is `MorsePotential` or `MP`. For example, the energy function is called as: - -```julia; term = true -MP.E(n=0) -MP.E(n=1) -``` - -where, the default values of the parameters are follows: - -```julia; term = true -MP.rₑ -MP.Dₑ -MP.k -MP.µ -MP.ℏ -``` - -Parameters can be specified by named variables: - -```julia; term = true -MP.E(n=0, k=2) -MP.E(n=1, k=2) -``` - -## Examples - -Wave functions: - -```julia -using Plots -plot(xlim=(0,5), xlabel="x", ylabel="ψ(x)") -plot!(x -> MP.ψ(x, n=0), label="n=0", lw=2) -plot!(x -> MP.ψ(x, n=1), label="n=1", lw=2) -plot!(x -> MP.ψ(x, n=2), label="n=2", lw=2) -plot!(x -> MP.ψ(x, n=3), label="n=3", lw=2) -plot!(x -> MP.ψ(x, n=4), label="n=4", lw=2) -plot!(x -> MP.ψ(x, n=5), label="n=5", lw=2) -``` - -Potential curve, Energy levels, Comparison with harmonic oscillator: - -```julia -using Plots -plot(xlims=(0.1,9.1), ylims=(-0.11,0.01), xlabel="\$r\$", ylabel="\$V(r), E_n\$", size=(480,400), dpi=400) -for n in 0:MP.nₘₐₓ() - # energy - EM = MP.E(n=n) - EH = HO.E(n=n,k=MP.k,m=MP.μ) - MP.Dₑ - plot!(0.1:0.01:15, r -> EH > HO.V(r-MP.rₑ,k=MP.k,m=MP.μ) - MP.Dₑ ? EH : NaN, lc="#BC1C5F", lw=1, label="") - plot!(0.1:0.01:15, r -> EM > MP.V(r) ? EM : NaN, lc="#578FC7", lw=1, label="") -end -# potential -plot!(0.1:0.01:15, r -> HO.V(r-MP.rₑ,k=MP.k,m=MP.μ) - MP.Dₑ, lc="#BC1C5F", lw=2, label="") -plot!(0.1:0.01:15, r -> MP.V(r), lc="#578FC7", lw=2, label="") -``` - -where, the potential of harmonic oscillator is defined as $V(r) \simeq \frac{1}{2} k (r - r_\mathrm{e})^2 + V_0$. - -## Tests - -```julia; line_width = 500 -include("../../test/MorsePotential.jl") -``` \ No newline at end of file diff --git a/docs/build/figures/HarmonicOscillator_5_1.png b/docs/figures/HarmonicOscillator_5_1.png similarity index 100% rename from docs/build/figures/HarmonicOscillator_5_1.png rename to docs/figures/HarmonicOscillator_5_1.png diff --git a/docs/build/figures/HarmonicOscillator_6_1.png b/docs/figures/HarmonicOscillator_6_1.png similarity index 100% rename from docs/build/figures/HarmonicOscillator_6_1.png rename to docs/figures/HarmonicOscillator_6_1.png diff --git a/docs/build/figures/HydrogenAtom_5_1.png b/docs/figures/HydrogenAtom_5_1.png similarity index 100% rename from docs/build/figures/HydrogenAtom_5_1.png rename to docs/figures/HydrogenAtom_5_1.png diff --git a/docs/build/figures/InfinitePotentialWell_5_1.png b/docs/figures/InfinitePotentialWell_5_1.png similarity index 100% rename from docs/build/figures/InfinitePotentialWell_5_1.png rename to docs/figures/InfinitePotentialWell_5_1.png diff --git a/docs/build/figures/InfinitePotentialWell_6_1.png b/docs/figures/InfinitePotentialWell_6_1.png similarity index 100% rename from docs/build/figures/InfinitePotentialWell_6_1.png rename to docs/figures/InfinitePotentialWell_6_1.png diff --git a/docs/build/figures/MorsePotential_5_1.png b/docs/figures/MorsePotential_5_1.png similarity index 100% rename from docs/build/figures/MorsePotential_5_1.png rename to docs/figures/MorsePotential_5_1.png diff --git a/docs/build/figures/MorsePotential_6_1.png b/docs/figures/MorsePotential_6_1.png similarity index 100% rename from docs/build/figures/MorsePotential_6_1.png rename to docs/figures/MorsePotential_6_1.png diff --git a/docs/build/index.html b/docs/index.html similarity index 100% rename from docs/build/index.html rename to docs/index.html diff --git a/docs/build/search.html b/docs/search.html similarity index 100% rename from docs/build/search.html rename to docs/search.html diff --git a/docs/build/search_index.js b/docs/search_index.js similarity index 100% rename from docs/build/search_index.js rename to docs/search_index.js