Closed ChiCheng45 closed 5 months ago
Just a question: do you think that there would be any advantage to checking the atom properties only once (that is, getting the covalent radii and NOT the atoms types) and then using only those with a non-zero covalent radius? It may be that, since you improved the performance of accessing the atoms properties, it does not really matter from the point of view of execution time. It might matter for people who like to define their own atom types and would like to add new dummy types - assuming that such users exist.
Description of work Although the covalent radii of dummy atoms are zero the bonding determination in the 3d viewer may still bond them if they are close enough to other atoms. I have updated the bonding determination so that bond to dummy atoms are never made.
To test Convert a trajectory with dummy atoms e.g. the water_with_velocities from MDANE-Examples DL_POLY. Load the trajectory and uncheck the atoms in the visible objects group. There should not be a bond between the oxygen and dummy atoms.
Before![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/d07c17f3-f831-404a-bc30-c97bfb98b90b)
After![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/9bf580af-3f82-4c9a-ace6-2eb9c1842d9c)