|
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) |
Public Member Functions inherited from SpatialHash< false > | |
| SpatialHash () | |
| SpatialHash (Vector3d origin, Vector3d step, A &coordinates) | |
| SpatialHash (Vector3d origin, Vector3d step, C &coordinates) | |
| Triplet | hashFunction (const int &i) const |
| virtual | ~SpatialHash () |
Additional Inherited Members | |
Public Types inherited from SpatialHash< false > | |
| typedef Select< isConst, constMatrixXd, MatrixXd >::Result | A |
| typedef Select< isConst, constVector3d, Vector3d >::Result | B |
| typedef Select< isConst, conststd::vector< Vector3d >, std::vector< Vector3d > >::Result | C |
Public Attributes inherited from SpatialHash< false > | |
| 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.