Interaction Module
This module handles interaction and plotting functions to display and visualize results.
Main.SchrödingerSolver.Interaction.display_menu
— Methoddisplay_menu()
Displays the main menu options to the user.
Main.SchrödingerSolver.Interaction.plot_wavefunctions
— Methodplot_wavefunctions(
x_vals::AbstractVector{Float64},
wavefunctions::Vector{Vector{Float64}},
num_levels::Int,
potential_name::String,
potential_params::Vector{Float64}
)
Plots the wave functions.
Arguments
x_vals
: Values ofx
.wavefunctions
: Precomputed and normalized wave functions.num_levels
: Number of energy levels to plot.potential_name
: The name of the potential function.potential_params
: Coefficients for the polynomial potential function.