Giter VIP home page Giter VIP logo

numerovs_method_quantum_harmonic_oscillator's Introduction

#Numerov's Method Quantum Harmonic Oscillator

Fortran 90 code is compiled using GNU Fortran version 10.2.0. All the bash scripts are executed with GNU bash, version 3.2.57. All the plots are realised using Gnuplot version 5.4.

The material in this directory is structured as follows:

  • error: for each test, stores computed energy eigenvalues.
  • gnuplot: stores Gnuplot scripts and the generated images.
  • input: stores input files with information described below.
  • output: in a subdirectory for each test, stores the wave function and other output information.
  • report: stores LaTex source files for the report slides.
  • test: stores Bash script for testing purposes.

Code interactively asks for input:

  1. Max value for x (typical value: 10).

  2. Number of grid points (typically a few hundreds).

  3. output file name.

  4. Expansion order around inversion point (default 3).

  5. Perturbative estimate energy gap? (1 for Yes).

  6. nodes (type -1 to stop).

  7. Trial energy (0=search with bisection).

After one run, it is possibile to specify again 6. and 7., with the same values as before for the other parameters.

It is also possible to provide as arguments the same parameters:

  • 1st argument: input file, providing 1., 2., 3., 6. and 7.
  • 2nd argument: expansion order around inversion point (default 3, accepts 2 and 4)
  • 3rd argument: perturbative estimate energy gap? (1 for Yes, anything else for No)

The tolerance on the energy interval width is hardcoded and set, in adimensional units of energy, to $10^{-10}$. Using perturbative estimate for the energy gap, the tolerance on the energy gap width is also hardcoded to $10^{-10}$.

numerovs_method_quantum_harmonic_oscillator's People

Contributors

andreamecchina avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.