Added center_of_mass.
Currently, they're split up in Molecule.jl and Crystal.jl. Maybe not a good design choice, but the same function is used to calculate the center of mass for both a Molecule and a Framework (multiple dispatch :+1: ), so I think it makes sense.
For the center_of_mass(molecule::Molecule) I put in two "ghost functions". They're not available to be looked up when searching for functions within the Julia environment. I named them _center_of_mass_geometric and _center_of_mass_weighted
Added
center_of_mass
. Currently, they're split up inMolecule.jl
andCrystal.jl
. Maybe not a good design choice, but the same function is used to calculate the center of mass for both aMolecule
and aFramework
(multiple dispatch :+1: ), so I think it makes sense.For the
center_of_mass(molecule::Molecule)
I put in two "ghost functions". They're not available to be looked up when searching for functions within the Julia environment. I named them_center_of_mass_geometric
and_center_of_mass_weighted