Category Archives: C

Source code in C to simulate a Speckle Potential

Addendum: After writing this post I had a nagging feeling. Some kind of unease about the codes I provided. After taking a quick read of my second edition of Numerical Recipes in C I realized what might have caused that … Continue reading

Posted in C, Condensed Matter, Physics, Programming | Leave a comment

Cigar-shaped trap potential

At more or less at the same time that I did the Mathematica code to simulate a speckle pattern producing potential I also had to create a code that recreated a cigar-shaped trap potential. This was done with the goal … Continue reading

Posted in C, Physics, Programming, Quantum Mechanics | 1 Comment