Giter VIP home page Giter VIP logo

qft-finite-diff's Introduction

-------------------------------------------------------------
-------------3 FINITE DIFFERENCE SOLVERS---------------------
-------------------------------------------------------------

----------------------FDTDCN---------------------------------

Here the Crank Nicolson Method is used. 
Format of data obtained via integration is as follows:

Spatial Coordinate | real(psi) | imag(psi) | |psi|² 

Decay:
To get energy of wave use fitprogram like GNUPLOT with 
'decay.txt'

First column is the elapsed time, second and third column are 
the real and imaginary parts.

---------------------FDTD1D----------------------------------

Explicit Finite Difference Time Domain Method.
Format of data via integration is as follows:

Spatial Coordinate | real(psi) | imag(psi) | |psi|² 

Decay:
To get energy of wave use fitprogram like GNUPLOT with 
'decay.txt'

First column is the elapsed time, second and third column are 
the real and imaginary parts.

---------------------FDTD3D----------------------------------

Explicit Finite Difference Time Domain Method in three dimen-
sions.
Format of data is as follows:

x-Coordinate | y-Coordinate | z-Coordinate | real(psi) | imag(psi) | |psi|² 

-------------------------------------------------------------
To edit parameters change code in .cpp file
(Be careful if changing Number of Nodes in FDTD3D, very memory consuming)

To run program go to directory of .cpp file and type in the console:
g++ Filename.cpp -o Progname
and then
./Progname 

qft-finite-diff's People

Contributors

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