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

The Numerical Renormalization Group

Introduction Finally here1 it is. A simple (relatively) program implementing the Numerical Renormalization Group. I tried to implement it as simple as possible to be easy to understand. Here is the program in action, running an Anderson model at half-filling: I already used charts generated by the program in The Kondo Effect and Renormalization Groups … Read more