test_direct_product_mesh_wrapper.cc File Reference
#include <array>
#include <iostream>
#include <iterator>
#include <numeric>
#include <vector>
#include "wonton/mesh/direct_product/direct_product_mesh.h"
#include "wonton/mesh/direct_product/direct_product_mesh_wrapper.h"
#include "wonton/support/wonton.h"
#include "wonton/support/Point.h"
#include "wonton/support/Vector.h"
#include "gtest/gtest.h"

Namespaces

 direct_product_mesh_wrapper_test
 

Functions

template<int D>
void direct_product_mesh_wrapper_test::check_basic_functions (const Wonton::Direct_Product_Mesh_Wrapper< D > &mesh_wrapper, const std::array< std::vector< double >,(std::size_t) D > &axis_points, const Wonton::Point< D > &plo, const Wonton::Point< D > &phi, const bool is_distributed)
 
template<int D>
void direct_product_mesh_wrapper_test::check_cell_geometry (const Wonton::Direct_Product_Mesh_Wrapper< D > &mesh_wrapper, const std::array< int, D > &indices, const std::array< std::vector< double >, D > &axis_points)
 
template<int D>
void direct_product_mesh_wrapper_test::check_indices_and_cellids (const Wonton::Direct_Product_Mesh_Wrapper< D > &mesh_wrapper, const std::array< int, D > &indices, const int id)
 
template<int D>
void direct_product_mesh_wrapper_test::loop_over_grid (const int d, std::array< int, D > &indices, int &id, const Wonton::Direct_Product_Mesh_Wrapper< D > &mesh_wrapper, const std::array< std::vector< double >, D > &axis_points)
 
template<int D>
void direct_product_mesh_wrapper_test::verify_cell_iteration (Wonton::Direct_Product_Mesh_Wrapper< D > &wrapper)
 
template<int D>
void direct_product_mesh_wrapper_test::verify_cell_adjacencies (Wonton::Direct_Product_Mesh_Wrapper< D > &wrapper)
 
template<int D>
void direct_product_mesh_wrapper_test::verify_node_adjacencies (Wonton::Direct_Product_Mesh_Wrapper< D > &wrapper)
 
template<int D>
void direct_product_mesh_wrapper_test::run_all_tests (const std::vector< double > &axis_points_in)
 
 TEST (Direct_Product_Mesh_Wrapper, SmallGrid1D)
 
 TEST (Direct_Product_Mesh_Wrapper, SmallGrid2D)
 
 TEST (Direct_Product_Mesh_Wrapper, OneCell3D)
 
 TEST (Direct_Product_Mesh_Wrapper, SmallGrid10D)
 

Function Documentation

◆ TEST() [1/4]

TEST ( Direct_Product_Mesh_Wrapper  ,
SmallGrid1D   
)

◆ TEST() [2/4]

TEST ( Direct_Product_Mesh_Wrapper  ,
SmallGrid2D   
)

◆ TEST() [3/4]

TEST ( Direct_Product_Mesh_Wrapper  ,
OneCell3D   
)

◆ TEST() [4/4]

TEST ( Direct_Product_Mesh_Wrapper  ,
SmallGrid10D   
)