Type used to represent a map from an atom collection index to an interpreted object. More...
#include <Interpret.h>
Data Structures | |
| struct | ComponentIndexPair |
Public Member Functions | |
| ComponentIndexPair | apply (unsigned index) const |
| Transform index from original atom collection to component and atom index. | |
| unsigned | invert (const ComponentIndexPair &pair) const |
| Transform component and atom index to index from original atom collection. | |
| std::vector< std::vector < unsigned > > | invert () const |
| Yields mapping from indices in components to original input indices. More... | |
| std::vector < Utils::AtomCollection > | apply (const Utils::AtomCollection &atomCollection) const |
| Splits an AtomCollection just like the interpret split the positions into parts. More... | |
| std::vector< AngstromPositions > | apply (const AngstromPositions &positions) const |
|
std::vector < PeriodicBoundaryDuplicates > | apply (const std::unordered_set< unsigned > &uninterestingAtoms, const std::unordered_map< unsigned, unsigned > &ghostAtomMap) const |
| unsigned | size () const |
| Size of the map. | |
| unsigned | countComponents () const |
Data Fields | |
| std::vector< unsigned > | map |
Type used to represent a map from an atom collection index to an interpreted object.
| std::vector<Utils::AtomCollection> Scine::Molassembler::Interpret::ComponentMap::apply | ( | const Utils::AtomCollection & | atomCollection | ) | const |
Splits an AtomCollection just like the interpret split the positions into parts.
| atomCollection | AtomCollection to split |
| std::vector< std::vector<unsigned> > Scine::Molassembler::Interpret::ComponentMap::invert | ( | ) | const |
Yields mapping from indices in components to original input indices.