MDStressLab++
|
#include <SpatialHash.h>
Public Member Functions | |
BoxPoints (Vector3d origin, Vector3d step, MatrixXd &coordinates) | |
BoxPoints (Vector3d origin, Vector3d step, std::vector< Vector3d > &coordinates) | |
virtual | ~BoxPoints () |
void | fold (const Vector3i &pbc) |
![]() | |
SpatialHash () | |
SpatialHash (Vector3d origin, Vector3d step, A &coordinates) | |
SpatialHash (Vector3d origin, Vector3d step, C &coordinates) | |
Triplet | hashFunction (const int &i) |
virtual | ~SpatialHash () |
Additional Inherited Members | |
![]() | |
typedef Select< isConst, const MatrixXd, MatrixXd >::Result | A |
typedef Select< isConst, const Vector3d, Vector3d >::Result | B |
typedef Select< isConst, const std::vector< Vector3d >, std::vector< Vector3d > >::Result | C |
![]() | |
Vector3d | origin |
Vector3d | step |
std::vector< Eigen::Map< B > > | coordinates |
std::map< Triplet, std::vector< int > > | hashTable |
A class to fold a collection of points back into a given orthogonal box
Definition at line 160 of file SpatialHash.h.
Definition at line 163 of file SpatialHash.h.
|
inline |
Definition at line 166 of file SpatialHash.h.
|
inlinevirtual |
Definition at line 170 of file SpatialHash.h.
|
inline |
Folds the points into the box using spatial hashing
[in] | pbc | A binary triplet to describe periodic boundary conditions |
Definition at line 176 of file SpatialHash.h.