Percolation in fortran

Introduction I thought I should add another project1 to my GitHub repositories and since I was mainly extending the Quantum Computing Simulator project I decided to implement something very simple, but still very rich, a model that despite being simple is still useful for many physical phenomena and also exhibits a phase transition… that is, … Read more

Event Driven Molecular Dynamics

Event Driven Molecular Dynamics

Introduction I intended to have some molecular dynamics code for this blog, something a little bit more complex than the one described at Newtonian Gravity post, perhaps something with neighbors lists or maybe again something about gravity but with a Barnes–Hut simulation. I’ll do that maybe later. I found that there are plenty of places … Read more

Magnetization for 2D Ising Model

Metropolis for 2D Ising and spin block renormalization

Introduction After quite a bit of time, here is the C++ program I promised. I’ve made a youtube video just to present it, for more meaningful results it must run with way more sweeps than in the video: It turned out that the program I used for making the video had some troubles with the … Read more

Monte Carlo Methods

Introduction This is an important branch of computational physics and hopefully I’ll have several programs to post on this topic. I’m quite sure I’ll post at least one. I’ll write here some theoretical things briefly describing the methods, to be referenced later. But before going into that, I’ll point to a book on Computational Physics1 … Read more