PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
nflannSetup.h File Reference
#include "util/point.h"
#include "nanoflann/include/nanoflann.hpp"
Include dependency graph for nflannSetup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nsearch::PointCloudAdaptor
 Allows custom point cloud data structure to interface with nanoflann. See https://github.com/jlblancoc/nanoflann for more details. More...
 
class  nsearch::TreeSearchResult< _DistanceType, _IndexType >
 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...
 
class  nsearch::TreeSearchCheckIDExcludeResult< _DistanceType, _IndexType >
 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  nsearch::TreeSearchCheckIDIncludeResult< _DistanceType, _IndexType >
 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...
 

Namespaces

namespace  nsearch
 Methods for performing efficient search of neighboring points.
 

Typedefs

typedef std::vector< util::Pointnsearch::PointCloud
 Define list of points for tree search using nanoflann lib.
 
typedef TreeSearchResult< double, size_t > nsearch::TreeSearchRes
 Define result attributes.
 
typedef TreeSearchCheckIDIncludeResult< double, size_t > nsearch::TreeSearchCheckIDIncludeRes
 
typedef TreeSearchCheckIDExcludeResult< double, size_t > nsearch::TreeSearchCheckIDExcludeRes
 
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, PointCloudAdaptor >, PointCloudAdaptor, 3 > nsearch::NFlannKdTree
 Define tree data type for nanoflann.
 
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, PointCloudAdaptor >, PointCloudAdaptor, 3 > nsearch::NFlannKdTree3D
 Define tree data type for nanoflann (3D)
 
typedef nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, PointCloudAdaptor >, PointCloudAdaptor, 2 > nsearch::NFlannKdTree2D
 Define tree data type for nanoflann (2D)