Skip to content

Use analytical solvers for 1-well potentials, numeric solver for multi-well potentials. #43

@pixelzoom

Description

@pixelzoom

We are currently using analytical or nearly-analytical solvers (for enery levels and wave functions) for the following potential types:

  • Infinite Square
  • Infinite Step
  • Coulomb

Should we use analytical solvers for other potential types that are specific to the One Well screen? Those potentials are:

  • Asymmetric Triangle
  • Harmonic Oscillator
  • Morse

And we would be using numerical solution (NumerovSolver) only for potentials that involve multiple wells:

  • Finite Square
  • Pöschl-Teller

Advantages:

  • Highly responsive, no lag.
  • Eases restrictions on parameter ranges.
  • Can more easily demonstrate specific effects that are now difficult.
  • Better encapsulation: code changes to one potential type do not affect others.

Disadvantages:

  • More code.
  • Cannot have analytical solution for multiple wells.
  • Larger ranges causes wave function to extend beyond x-axis range.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions