Hi I am looking for some code to (computationally) calculate the magnetic field of a rectangular permanent magnet in 3D space. Preferably I could edit it to add in my own dimensions. Does anyone know of anything?
closed as off topic by David Zaslavsky♦ Jan 15 at 2:01
Questions on Physics Stack Exchange are expected to relate to physics within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
Yes, this guy does it awesomely: http://www.bugman123.com/Physics/index.html See the links within, which contains scripts.