#include <compartment_sets.h>
Public Member Functions | |
| bool | operator== (const CompartmentLocation &other) const |
| bool | operator!= (const CompartmentLocation &other) const |
Public Attributes | |
| uint64_t | nodeId = 0 |
| uint64_t | sectionIndex = 0 |
| double | offset = 0.0 |
This struct uniquely identifies a compartment by a set of node_id, section_index and offset:
Note: it cannot go inside CompartmentSet because then CompartmentSetFilteredIterator needs the full definition of CompartmentSet and CompartmentSet needs the full definition of CompartmentSetFilteredIterator.
|
inline |
Comparator. Used to compare vectors in CompartmentSet. More idiomatic than defining a comaprator on the fly