Car-Parrinello

Car-Parrinello Quantum Molecular Dynamics

Introduction I have another repository on GitHub. I decided to have one where I’ll put python code for computational physics issues that are simpler / less complete than the code for the C++ projects. I’ll put there both jupyter notebooks and python scripts. At this moment there are only two of them, hopefully I’ll add … Read more

Simulation

Epidemic

Introduction This is a very brief post, with a simulation written in javascript. It’s a very simple model of how a dissease can spread into a population. You may get the code, adjust the parameters and watch different outcomes. The idea of this project came from this: Why outbreaks like coronavirus spread exponentially, and how … 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

Newtonian Gravity

Introduction Newton is considered as being the one that started the modern physics, so something related with his work seems appropriate to start this blog. Besides, I had an old program simulating a solar system that I wrote quite a while ago. I wrote the program with the old OpenGL fixed pipeline and leapfrog integration, … Read more