GithubHelp home page GithubHelp logo

fbaravalle / schroedinger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scienza/schroedinger

0.0 0.0 0.0 215 KB

A Schroedinger Equation solver in C++, for collaborative purpose

License: GNU Lesser General Public License v2.1

CMake 5.18% C++ 94.47% C 0.35%

schroedinger's Introduction

Schroedinger Solver

CircleCI Linux License

This is a first instance of a Schroedinger Solver that makes use of the Numerov algorithm to numerically calcolate the solution of the time-indepedent Schroedinger equation in position space, treated as second order differential equation.

The potential is embedded in the code as a class, together with the basis. At the moment the implementation still going on to realize an extremely versatile object oriented code. But one-dimensional worker at the moment is working just fine.

Output are the energy and the resulting wavefunction.

Numerov Solver

Numerov solver takes in input an energy bracket in which to look for solution. Increasing from the minimum energy, it takes the lowest energy non-trivial solution as the one that respects boundary conditions.

Requisites

  • compiler which fully supports C++17, due to src implementation of Hermite polynomials in std available in the latest implementations of C++17. That is:
    • g++ version newer than 6.0, due to src implementation of Hermite polynomials in std available in C++17.
    • clang version > 9.0 (there are reports of it working for 5.0)
    • Intel Compilers version > 18.0
  • Git
  • CMake

How to build

From the CLI navigate into project's directory, then run:

$ mkdir build
$ cd build
$ cmake ..
$ make

You'll find the executable file in Schroedinger/build/bin/.

Contribute

To contribute, considers the issues and the to-do lists. Good first issues are tagged appropriately, depending on contribution aspirations there are issues with different requirements of physics and computer science. Watch the introduction video video (IT) and contact Andrea Idini. Priviledged channel for contributions is the telegram group @scienza.

schroedinger's People

Contributors

andreaidini avatar gabrielepisciotta avatar loara avatar cosimof 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.