Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/singond/nummet-ii-task
Final task for the course of Advanced Numerical Methods in Masaryk University
https://github.com/singond/nummet-ii-task
Last synced: 10 days ago
JSON representation
Final task for the course of Advanced Numerical Methods in Masaryk University
- Host: GitHub
- URL: https://github.com/singond/nummet-ii-task
- Owner: Singond
- Created: 2024-03-27T23:28:18.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-06-02T14:30:47.000Z (7 months ago)
- Last Synced: 2024-11-06T20:42:11.368Z (about 2 months ago)
- Language: Julia
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Solving the Schrödinger equation using Lanczos method
=====================================================
An example implementation and application of the Lanczos diagonalization
method on the eigenvalue problem arising in the study of stationary
solutions of the Schrödinger equation.This is a semestral project for a course on advanced numerical methods.
Running the code
----------------
The code comes in several mostly equivalent versions:
* `schrodinger.jl` is a plain Julia script which displays one of the
calculated eigenvectors in the end.
To run this script, simply launch Julia and execute
`include("schrodinger.jl")`.
* `schrodinger.nb.jl` is a Pluto-notebook version of the above.
This is an interactive document which displays intermediate results
and more than just one eigenvector (solution).
To run this, install [Pluto](https://plutojl.org/), run it with
`using Pluto; Pluto.run()` in a Julia session and wait for a document
to open in your web browser. Navigate to the file and select it.
* `schrodinger_makie.nb.jl` is a notebook using an alternative plotting
package (`Makie.jl`).
This version is also available on JuliaHub at
.
It exists because the default plotting package, `Plots.jl`,
currently has issues when running on JuliaHub.
* `schrodinger_write.jl` is just a helper script used to write the results
of `schrodinger.jl` into files.