Closed SimonEnsemble closed 3 years ago
Check that center of mass is not NaN when returning a molecule after constructing it? Change center of mass function so that if the mass is zero, just the geometric center of mass is used?
c.o.m. is [NaN, NaN, NaN] if it's an ion too. i.e. no LJ spheres but only charges
[NaN, NaN, NaN]
Check that center of mass is not NaN when returning a molecule after constructing it? Change center of mass function so that if the mass is zero, just the geometric center of mass is used?