Skip to content

mstrickl/quantumfdtd_v3-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Parallelized Finite Difference Time Domain (FDTD) Solver


DESCRIPTION

This code can use several techniques (finite differences and Fast Fourier Transform) to solve the Schrödinger Equation in imaginary time for an arbitrary 3d potential. It uses the MPI (Message Passing Interface) standard. The lattice is equally partitioned into slices along the x direction. Code can extract ground state and first few excited state wavefunction and energies.

The Relativistic Kinetic Term for the Schrodinger Equation can be used by means of the Fast Fourier Transform (FFT), with strictly periodic boundary conditions.

REQUIREMENTS

The MPI (Message Passing Interface) API must be installed on your system. Currently tested against MPICH and OpenMPI. Can run on a single computational node or as many as you like.

The FFTW3-MPI and GSL (GNU Scientific Library) are also required to be installed.

COMPILING

To compile, simply type make from the command line.

USAGE

All parameters are specified in the params.txt file. They can also be set via the commandline using, e.g.,

mpirun -np 16 mpisolve -PARAMNAME [value]

Parameters set via the commandline override those set in the params.txt file.

To run:

mpirun -np <Number of Worker Nodes> mpisolve

DEBUGGING

mpirun N -x DISPLAY run_gdb.csh mpisolve

CONTRIBUTORS

Michael Strickland, Adrian Dumitru, Yun Guo, Rafael L. Delgado, and Sebastian Steinbeißer

LICENSE

GNU General Public License (GPLv3). See detailed text in license directory.

ATTRIBUTION

We ask that if you use this code for work which results in a publication that you cite the following papers:

Rafael L. Delgado, Sebastian Steinbeißer, Michael Strickland, and Johannes H. Weber,
"The Relativistic Schrödinger Equation through FFTW3: An Extension of quantumfdtd",
To be submitted.
[https://inspirehep.net/literature/1804287]

M. Strickland, and D. Yager-Elorriaga,
"A Parallel Algorithm for Solving the 3d Schrodinger Equation",
Journal of Computational Physics 229 (2010), 6015.
[https://inspirehep.net/literature/817954]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.0%
  • Python 22.8%
  • Shell 8.5%
  • C 4.9%
  • Makefile 0.8%