PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Methods for performing efficient search of neighboring points. More...
Data Structures | |
class | BaseNSearch |
A class for nearest neighbor search. More... | |
class | NFlannSearchKd |
A class for nearest neighbor search using nanoflann library. More... | |
struct | PointCloudAdaptor |
Allows custom point cloud data structure to interface with nanoflann. See https://github.com/jlblancoc/nanoflann for more details. More... | |
class | TreeSearchCheckIDExcludeResult |
To collect results of nanoflann tree search. In this class, we check the tag of a potential point and add the point to search list if the tag does not match the tag of a point for which neighbors are computed. This is useful when computing neighbor list for contact. In this case, we do not want points from the same particle to be in the contact neighbor lsit. Default result output of nanoflann search uses std::vector<std::pair<size_t, double>>. We prefer to get the index and distance in a separate list. More... | |
class | TreeSearchCheckIDIncludeResult |
To collect results of nanoflann tree search. In this class, we check the tag of a potential point and add the point to search list if the tag matches the tag of a point for which neighbors are computed. This is useful when computing neighbor list for peridynamics. In this case, we want points from the same particle to be in the peridynamics neighbor lsit. Default result output of nanoflann search uses std::vector<std::pair<size_t, double>>. We prefer to get the index and distance in a separate list. More... | |
class | TreeSearchResult |
To collect results of nanoflann tree search. Default result output of nanoflann search uses std::vector<std::pair<size_t, double>>. We prefer to get the index and distance in a separate list. More... | |
Typedefs | |
typedef std::vector< util::Point > | PointCloud |
Define list of points for tree search using nanoflann lib. | |
typedef TreeSearchResult< double, size_t > | TreeSearchRes |
Define result attributes. | |
typedef TreeSearchCheckIDIncludeResult< double, size_t > | TreeSearchCheckIDIncludeRes |
typedef TreeSearchCheckIDExcludeResult< double, size_t > | TreeSearchCheckIDExcludeRes |
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, PointCloudAdaptor >, PointCloudAdaptor, 3 > | NFlannKdTree |
Define tree data type for nanoflann. | |
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, PointCloudAdaptor >, PointCloudAdaptor, 3 > | NFlannKdTree3D |
Define tree data type for nanoflann (3D) | |
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, PointCloudAdaptor >, PointCloudAdaptor, 2 > | NFlannKdTree2D |
Define tree data type for nanoflann (2D) | |
Methods for performing efficient search of neighboring points.
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor<double, PointCloudAdaptor>, PointCloudAdaptor, 3 > nsearch::NFlannKdTree |
Define tree data type for nanoflann.
Definition at line 438 of file nflannSetup.h.
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor<double, PointCloudAdaptor>, PointCloudAdaptor, 2 > nsearch::NFlannKdTree2D |
Define tree data type for nanoflann (2D)
Definition at line 452 of file nflannSetup.h.
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor<double, PointCloudAdaptor>, PointCloudAdaptor, 3 > nsearch::NFlannKdTree3D |
Define tree data type for nanoflann (3D)
Definition at line 445 of file nflannSetup.h.
typedef std::vector<util::Point> nsearch::PointCloud |
Define list of points for tree search using nanoflann lib.
Definition at line 20 of file nflannSetup.h.
typedef TreeSearchCheckIDExcludeResult<double, size_t> nsearch::TreeSearchCheckIDExcludeRes |
Definition at line 430 of file nflannSetup.h.
typedef TreeSearchCheckIDIncludeResult<double, size_t> nsearch::TreeSearchCheckIDIncludeRes |
Definition at line 429 of file nflannSetup.h.
typedef TreeSearchResult<double, size_t> nsearch::TreeSearchRes |
Define result attributes.
Definition at line 428 of file nflannSetup.h.