MDStressLab++
|
#include <SpatialHash.h>
Public Member Functions | |
Triplet ()=default | |
Triplet (int i, int j, int k) | |
Triplet (const Vector3i &base) | |
bool | operator< (const Triplet &rhs) const |
std::vector< Triplet > | neighborList () |
virtual | ~Triplet () |
A Triplet object is a triplet of integers provided with a \(<\) relation and a member function to enumerates its neighbors. The \(<\) relation allows us to use Triplets as keys to an std::map, which is used to spatially hash a configuration of particles (see the SpatialHash class)
Definition at line 24 of file SpatialHash.h.
|
default |
|
inline |
Definition at line 28 of file SpatialHash.h.
|
inline |
Definition at line 29 of file SpatialHash.h.
|
inlinevirtual |
Definition at line 55 of file SpatialHash.h.
|
inline |
Definition at line 42 of file SpatialHash.h.
|
inline |
Definition at line 32 of file SpatialHash.h.