Coder Social home page Coder Social logo

janniskoerner / adaptive-wkb-marching-method Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 148 KB

A MATLAB routine to compute numerically the solution to the 1D stationary Schrödinger equation in the highly oscillatory regime.

License: Creative Commons Attribution 4.0 International

MATLAB 100.00%
schrodinger-equation wkb-approximation adaptive-stepsize airy-equation ode-solver differential-equations numerical-methods runge-kutta

adaptive-wkb-marching-method's Introduction

Table of Contents

  1. About
  2. Getting Started
  3. Usage
  4. Help
  5. License

About

This is a MATLAB tool for solving numerically the highly oscillatory 1D Schrödinger equation

Here, a(x) is a real valued coefficient function bounded away from zero and epsi is the rescaled Planck constant 0 < epsi << 1.

The routine automatically switches between a standard Runge-Kutta solver and a WKB-based stepping procedure.

The whole program directly corresponds to our recently submitted article: J. Körner, A. Arnold, K. Döpfner, WKB-based scheme with adaptive step size control for the Schrödinger equation in the highly oscillatory regime. A preprint is available in the archive arXiv:2102.03107.

The main program is "adaptive_WKB_marching_method.m", which, depending on the users input, might or might not call the numerical integration routine "clenshaw_curtis.m" (see also here for help).

Getting Started

Prerequisites

To run the program the following requirements are needed:

  • MATLAB

Installation

Just clone the repository

git clone https://github.com/JannisKoerner/adaptive-WKB-marching-method.git

or download it manually and make sure the folder is added to the MATLAB search path.

Usage

For a quick start you can just run the example file "Test_adaptive_WKB_marching_method_Airy.m" or "Test_adaptive_WKB_marching_method_PCF.m".

Help

There are short documentations available, just type the following commands into your MATLAB console:

   doc adaptive_WKB_marching_method
   doc clenshaw_curtis

License

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

adaptive-wkb-marching-method's People

Contributors

janniskoerner avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.