mosdef-hub / foyer

A package for atom-typing as well as applying and disseminating forcefields
https://foyer.mosdef.org
MIT License
118 stars 77 forks source link

Only create connections if connection type exist while parameterizing `gmso.Topology` #459

Closed umesh-timalsina closed 6 months ago

umesh-timalsina commented 3 years ago

This should be implemented after https://github.com/mosdef-hub/gmso/pull/588.

When atomtyping an gmso.Topology, creating connections without a connection_type (Potential) might be redundant. It might be nice to consider levaraging https://github.com/mosdef-hub/gmso/pull/588 to grab possible connection indices and create connections only when Potential parameters exist in the ForceField.