rmrresearch / GhostFragment

Library focused on fragment-based methods and basis-set superposition corrections
https://rmrresearch.github.io/GhostFragment/
Apache License 2.0
0 stars 4 forks source link

BrokenBond module #23

Closed ryanmrichard closed 1 year ago

ryanmrichard commented 1 year ago

I have added a property type to GhostFragment called BrokenBond. This issue is for writing, testing, and documenting a module which satisfies BrokenBond.

The BrokenBond API takes a FragmentedNuclei object and returns a std::vector<bond_set> object.

The return is a nested container such that:

As a note the module will need to call a submodule of property type MolecularGraph (defined in include/ghostfragment/property_types/molecular_graph.hpp) to convert the the FragmentedNuclei object to a MolecularGraph object.

Tutorials on how to write modules are here. Also take a look at the files in src/connectivity in GhostFragment).

ryanmrichard commented 1 year ago

FWIW, the BrokenBond property type lives at include/ghostfragment/property_types/broken_bond.hpp