The program could benefit from a way to reduce the potential energy before the simulation.
As an example, it could execute a certain number of cycles, each performing random physical transformations until the total potential energy of the system decreases.
It would be computationally intensive, but simple, to go with this "random" or Monte-Carlo approach to minimise the potential energy.
The program could benefit from a way to reduce the potential energy before the simulation.
As an example, it could execute a certain number of cycles, each performing random physical transformations until the total potential energy of the system decreases.
It would be computationally intensive, but simple, to go with this "random" or Monte-Carlo approach to minimise the potential energy.