This is a well-organized collection of physics code and general use libraries.
It contains discrete time-advancement of (classic) Klein-Gordon-like field theories (with non-differentiable potentials) and also path integrals of their quantum counterparts in a stochastic formalism. Also, as studies, montecarlo of magnetic models and Langevin dynamics of soft matter.
It also contains random coding projects of all sorts.
There are two ways to install this repo: via Git or via Docker.
Assuming you're using Ubuntu, you'll need git to pull this repo:
sudo apt-get update && sudo apt-get install git
Choose a suitable location (e.g. ~/Dev/), then
git clone https://github.com/jstreibel/StudioSlab.git
Install dependencies. On most Linux systems, you can do this by running (notice this script has only been tested on Ubuntu):
chmod +x StudioSlab/Scripts/install-deps.sh
./StudioSlab/Scripts/install-deps.sh
If your Linux system is not contemplated here, or you're on Windows, you'll need to install the dependencies manually.
Here's a comprehensive list of what you need (remember to choose the development versions):
cmake
SFML
FreeType
GLEW
Fontconfig
Cairomm
Pangomm
FreeGLUT
GLFW
cxxopts
FFTW3
TinyXML2
GLM
FreeImage
OpenGL and EGL
Boost::Locale
Boost::Random
Boost::Timer
Then, build the project:
cd StudioSlab/ && mkdir build && cd build && cmake .. && make
Install Docker, and NVidia Container Toolkit, then run, on project root, run:
docker build -t studioslab:latest.
If all goes well, you should be able to run the container's entrypoint (Fields-RtoR) with:
docker run -it --gpus all studioslab:latest
As a primer, you can run the container's entrypoint with:
docker run -it --gpus studioslab:latest -og
... to be written.
Two-point function (low-left) of quantum 1+1 dimensional signum-Gordon field, plus some of its Fourier space data:
This repo is where I've amalgamated most of my physics PhD code.


