pub fn add_molecule(&mut self, mut molecule: Molecule) {
        for (kind, name) in soa_zip!(molecule.particles_mut(), [mut kind, name]) {
            *kind = self.interactions.get_kind(name);
        }
        self.configuration.add_molecule(molecule);
    }
/// Add a molecule to the system
Add a molecule to the system
Add a molecule to the system
pub fn add_molecule(&mut self, mut molecule: Molecule) {
        for (kind, name) in soa_zip!(molecule.particles_mut(), [mut kind, name]) {
            *kind = self.interactions.get_kind(name);
        }
        self.configuration.add_molecule(molecule);
    }
pub fn add_molecule ( & mut self , mut molecule : Molecule ) { for ( kind , name ) in soa_zip ! ( molecule particles_mut ( ) [ mut kind name ] ) { * kind = self . interactions . get_kind ( name ) ; } self . configuration . add_molecule ( molecule ) ; }
Add a molecule to the system
Add a molecule to the system
&mut self
molecule
Molecule