I'm trying to model an atomic system under the assumption that atoms are just points without any volume. The only criterion is that all atoms must be at least a distance 'r' away from each other and the positions of the atoms should be randomly distributed (generated using a uniform random number generator). Is there an algorithm for this problem using C++?
Aucun commentaire:
Enregistrer un commentaire