|
seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
|
Owned primitive-ring set. More...
#include <include/seams.hpp>
Classes | |
| class | iterator |
| Input iterator. More... | |
Public Member Functions | |
| int | size () const |
| Number of primitive rings. | |
| std::vector< int > | vertices (int index) const |
| Atom indices of one ring. | |
| std::vector< int > | histogram (int up_to) const |
| Histogram of ring size. | |
| double | fraction (int ring_size) const |
| Fraction of atoms that sit on a ring of one size. | |
| iterator | begin () const |
| First ring. | |
| iterator | end () const |
| Past the last ring. | |
| Public Member Functions inherited from seams::detail::Handle< seams_rings, seams_rings_destroy > | |
| Handle ()=default | |
| Handle & | operator= (const Handle &)=delete |
| ~Handle () | |
| operator bool () const noexcept | |
Additional Inherited Members | |
| Protected Member Functions inherited from seams::detail::Handle< seams_rings, seams_rings_destroy > | |
| seams_rings * | get () const noexcept |
| void | reset () noexcept |
| Protected Attributes inherited from seams::detail::Handle< seams_rings, seams_rings_destroy > | |
| seams_rings * | ptr_ |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Fraction of atoms that sit on a ring of one size.
| ring_size | Size to count. Zero counts every ring. |
Definition at line 771 of file seams.hpp.
|
inlinenodiscard |
Histogram of ring size.
| up_to | Highest size stored. counts[k] is the number of rings of size k. |
Definition at line 760 of file seams.hpp.
|
inlinenodiscard |
|
inlinenodiscard |
Atom indices of one ring.
| index | Ring index, from 0 to size() - 1. |
Definition at line 746 of file seams.hpp.