8 #ifndef INCLUDE_MOLASSEMBLER_PERIODIC_BOUNDARIES_H
9 #define INCLUDE_MOLASSEMBLER_PERIODIC_BOUNDARIES_H
14 #include <unordered_set>
15 #include <unordered_map>
18 namespace Molassembler {
23 std::unordered_set<AtomIndex> uninterestingAtoms;
24 std::unordered_map<AtomIndex, AtomIndex> ghostAtomMap;
Defines basic types widely shared across the project.
std::vector< std::pair< AtomIndex, AtomIndex >> SubstitutionList
List of real-space atom index to ghost atom index replacements.
Definition: PeriodicBoundaries.h:29
Represents the connectivity of atoms of a molecule.
Definition: Graph.h:54
Definition: PeriodicBoundaries.h:27
static SubstitutionMap removeGhosts(Graph &graph, const PeriodicBoundaryDuplicates &periodics)
Remove edges from interesting real-space atoms to ghost-space atoms.
Definition: PeriodicBoundaries.h:22
std::unordered_map< AtomIndex, SubstitutionList > SubstitutionMap
Map from interesting atom to list of real-to-ghost atom replacements.
Definition: PeriodicBoundaries.h:32