struct cage::FormerRow

Overview

One network-former atom: coordination, same-species bonds, and the primitive rings that pass through it. More…

#include <cage_enum.hpp>
 
struct FormerRow {
    // fields
 
    int index = -1;
    int species = 0;
    int coord = 0;
    int homopolar = 0;
    std::map<int, int> rings;
};

Detailed Documentation

One network-former atom: coordination, same-species bonds, and the primitive rings that pass through it.

rings counts are through this atom, so a ring of size n contributes to n rows. An index row may lead with the atom itself; that entry is not a neighbour.