Compadre  1.5.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
NeighborSearchTest.cpp File Reference
#include <vector>
#include <map>
#include <random>
#include <Compadre_Config.h>
#include <Compadre_GMLS.hpp>
#include <Compadre_PointCloudSearch.hpp>

Go to the source code of this file.

Functions

template<typename T1 , typename T2 >
std::pair< T2, T1 > swap_pair (const std::pair< T1, T2 > &item)
 
template<typename T1 , typename T2 >
std::multimap< T2, T1 > invert_map (const std::map< T1, T2 > &original_map)
 
int main (int argc, char *args[])
 Manifold GMLS Example. More...
 

Function Documentation

template<typename T1 , typename T2 >
std::multimap<T2,T1> invert_map ( const std::map< T1, T2 > &  original_map)

Definition at line 28 of file NeighborSearchTest.cpp.

int main ( int  argc,
char *  args[] 
)

Manifold GMLS Example.

Standard GMLS Example.

Exercises GMLS operator evaluation with data over various orders and numbers of targets for targets including point evaluation, Laplace-Beltrami, gradient and gradient on a manifold.

Manifold GMLS Example.

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Setting Up The GMLS Object]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

Definition at line 37 of file NeighborSearchTest.cpp.

template<typename T1 , typename T2 >
std::pair<T2,T1> swap_pair ( const std::pair< T1, T2 > &  item)

Definition at line 22 of file NeighborSearchTest.cpp.