|
seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
|
Exact frame-to-frame maintenance of the primitive ring network. More...
#include <src/include/internal/franzblau.hpp>
Public Member Functions | |
| RingUpdater (int maxDepth) | |
| ~RingUpdater () | |
| RingUpdater (RingUpdater &&) noexcept | |
| RingUpdater & | operator= (RingUpdater &&) noexcept |
| RingUpdater (const RingUpdater &)=delete | |
| RingUpdater & | operator= (const RingUpdater &)=delete |
| const std::vector< std::vector< int > > & | update (const std::vector< std::vector< int > > &nList) |
| int | lastRecomputedSources () const |
| int | lastBallsRefreshed () const |
| Vertices whose bounded balls were rebuilt on the last update. | |
| int | lastChangedBonds () const |
| double | lastChangedBondFraction () const |
| Changed bonds per molecule on the last update. | |
| void | setFullPassFraction (double fraction) |
| void | setBondCrossover (double changedBondsPerMolecule) |
Exact frame-to-frame maintenance of the primitive ring network.
Consecutive trajectory frames share almost all of their bond topology. A ring of at most maxDepth members can appear or vanish between frames only if it passes within (maxDepth/2 - 2)/2 bonds of a vertex whose neighbour row changed, which is on the ring itself up to maxDepth
Definition at line 226 of file franzblau.hpp.
|
explicit |
| primitive::RingUpdater::~RingUpdater | ( | ) |
|
noexcept |
|
delete |
|
nodiscard |
Vertices whose bounded balls were rebuilt on the last update.
|
nodiscard |
Changed bonds per molecule on the last update.
|
nodiscard |
Undirected bonds whose endpoints differ from the previous frame. Zero on the first frame and when the bond set is unchanged. The fraction below is this count divided by the molecule count, maintained while the rows are compared and readable in constant time afterwards.
|
nodiscard |
Vertices the last update enumerated rings through; the full vertex count on a whole-frame pass, zero when nothing changed
|
delete |
|
noexcept |
| void primitive::RingUpdater::setBondCrossover | ( | double | changedBondsPerMolecule | ) |
Kept for callers that used to force a whole-frame pass from the changed-bond rate. The default is negative. The rate does not replace the search of T.
| void primitive::RingUpdater::setFullPassFraction | ( | double | fraction | ) |
Kept for callers that used to force a whole-frame pass. The update enumerates the sources in T and no others, so a whole-frame pass happens only when T is every vertex. The stored fraction does not replace that search. The result equals a rebuild at every fraction.
| const std::vector< std::vector< int > > & primitive::RingUpdater::update | ( | const std::vector< std::vector< int > > & | nList | ) |
Primitive rings for this frame's neighbour list (row-ordered, by index, first element of each row the vertex itself)