Since metals, metalloids, non-metals, and composites, have differing characteristics, plug-and-play methods, so to speak, would be useful.

Also, as it’s well known that a moving electrical field generates a magnetic field, and vice-versa, finding ways to reduce that complexity while retaining a reasonable level of correctness would be highly useful.

  • 3
    $\begingroup$ +1 and welcome to the site, but what exactly do you wish to calculate? You want to "handle" electromagnetic interactions when doing what? $\endgroup$ Commented Apr 18, 2021 at 1:47

1 Answer 1


You could simplify long range interaction by reducing precision with range. Useful algorithm for it is:


It is usually used for gravity, but it can be applied for other forces too. With it you can do something better than just to ignore long range interaction, as is usually done, especially important with magnetic fields at larger scale.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .