#include <memory>
#include <vector>
#include <cstdlib>
#include <algorithm>
#include "gtest/gtest.h"
#include "portage/support/portage.h"
#include "portage/swarm/swarm.h"
#include "portage/search/search_simple_points.h"
#include "portage/search/search_points_by_cells.h"
#include "wonton/support/Point.h"

Functions

 TEST (search_by_cells, scatter_2d)
 
 TEST (search_by_cells, gather_2d)
 
 TEST (search_by_cells, scatter_3d)
 
 TEST (search_by_cells, gather_3d)
 
void test_scatter_2d_random (int nsrc, int ntgt)
 
 TEST (search_by_cells, scatter_2d_random_case1)
 
 TEST (search_by_cells, scatter_2d_random_case2)
 
 TEST (search_by_cells, scatter_2d_random_case3)
 
void test_scatter_3d_random (int nsrc, int ntgt, bool check=true)
 
 TEST (search_by_cells, scatter_3d_random_case1)
 
 TEST (search_by_cells, scatter_3d_random_case2)
 
 TEST (search_by_cells, scatter_3d_random_case3)
 
 TEST (search_by_cells, scatter_3d_random_case3_nocheck)
 
void test_gather_2d_random (const int nsrc, const int ntgt)
 
 TEST (search_by_cells, gather_2d_random_case1)
 
 TEST (search_by_cells, gather_2d_random_case2)
 
 TEST (search_by_cells, gather_2d_random_case3)
 
void test_gather_3d_random (const int nsrc, const int ntgt, bool check=true)
 
 TEST (search_by_cells, gather_3d_random_case1)
 
 TEST (search_by_cells, gather_3d_random_case2)
 
 TEST (search_by_cells, gather_3d_random_case3)
 
 TEST (search_by_cells, gather_3d_random_case1_nocheck)
 
 TEST (search_by_cells, scatter_2d_random_disjoint)
 
 TEST (search_by_cells, scatter_2d_random_edge)
 

Function Documentation

◆ TEST() [1/20]

TEST ( search_by_cells  ,
scatter_2d   
)

◆ TEST() [2/20]

TEST ( search_by_cells  ,
gather_2d   
)

◆ TEST() [3/20]

TEST ( search_by_cells  ,
scatter_3d   
)

◆ TEST() [4/20]

TEST ( search_by_cells  ,
gather_3d   
)

◆ TEST() [5/20]

TEST ( search_by_cells  ,
scatter_2d_random_case1   
)

◆ TEST() [6/20]

TEST ( search_by_cells  ,
scatter_2d_random_case2   
)

◆ TEST() [7/20]

TEST ( search_by_cells  ,
scatter_2d_random_case3   
)

◆ TEST() [8/20]

TEST ( search_by_cells  ,
scatter_3d_random_case1   
)

◆ TEST() [9/20]

TEST ( search_by_cells  ,
scatter_3d_random_case2   
)

◆ TEST() [10/20]

TEST ( search_by_cells  ,
scatter_3d_random_case3   
)

◆ TEST() [11/20]

TEST ( search_by_cells  ,
scatter_3d_random_case3_nocheck   
)

◆ TEST() [12/20]

TEST ( search_by_cells  ,
gather_2d_random_case1   
)

◆ TEST() [13/20]

TEST ( search_by_cells  ,
gather_2d_random_case2   
)

◆ TEST() [14/20]

TEST ( search_by_cells  ,
gather_2d_random_case3   
)

◆ TEST() [15/20]

TEST ( search_by_cells  ,
gather_3d_random_case1   
)

◆ TEST() [16/20]

TEST ( search_by_cells  ,
gather_3d_random_case2   
)

◆ TEST() [17/20]

TEST ( search_by_cells  ,
gather_3d_random_case3   
)

◆ TEST() [18/20]

TEST ( search_by_cells  ,
gather_3d_random_case1_nocheck   
)

◆ TEST() [19/20]

TEST ( search_by_cells  ,
scatter_2d_random_disjoint   
)

◆ TEST() [20/20]

TEST ( search_by_cells  ,
scatter_2d_random_edge   
)

◆ test_gather_2d_random()

void test_gather_2d_random ( const int  nsrc,
const int  ntgt 
)

◆ test_gather_3d_random()

void test_gather_3d_random ( const int  nsrc,
const int  ntgt,
bool  check = true 
)

◆ test_scatter_2d_random()

void test_scatter_2d_random ( int  nsrc,
int  ntgt 
)

◆ test_scatter_3d_random()

void test_scatter_3d_random ( int  nsrc,
int  ntgt,
bool  check = true 
)