In statistical physics, a Langevin equation (Paul Langevin, 1908) is a stochastic differential equation describing the time evolution of a subset of the degrees of freedom.
Python Boilerplate contains all the boilerplate you need to create a Python package.
- Free software: MIT license
- Documentation: https://langevindynamics.readthedocs.io.
- A simple python program for 2D many-particle Lagevin equation simulation.
- Required input values are read from a file named input and output file is called trajectory.txt.
- Potential is based on simply y = c*sin (a*x2+ b*y2), which may not be physical at all. You can change a,b and c in main program to get your own potential file.
- Periodic boundary conditions enabled.
- Paralleled main dynamics loop
- Real-time display is added to the program. (Note: cause the program to become really slow.)
- For more information please check langevin_dynamics.info.
- Please modify input under langevin_dynamcis folder before running simulations.
- Adding a module to convert tracjectories into gif to avoid performance issue.
- Including more physical potentials, such as Lennard-Jones potential.
- Re-structure the code to use higher level parallelism, and may introduce C/Fortran implementation for heavy computations.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.