AtomicSystem.get_center_of_mass#

AtomicSystem.get_center_of_mass()[source]#

Calculates the center of mass (COM) of the system.

Returns:

np.ndarray: [x, y, z] coordinates of the center of mass.