OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
vector_dist_operators_apply_kernel_unit_tests.cpp
1/*
2 * vector_dist_operators_apply_kernel_unit_tests.hpp
3 *
4 * Created on: Jun 19, 2016
5 * Author: i-bird
6 */
7
8#include "config.h"
9#define BOOST_TEST_DYN_LINK
10#include <boost/test/unit_test.hpp>
11
12#include "Vector/vector_dist.hpp"
13#include "Operators/Vector/vector_dist_operators.hpp"
14#include "Operators/Vector/tests/vector_dist_operators_tests_util.hpp"
15
16BOOST_AUTO_TEST_SUITE( vector_dist_operators_apply_kernel_test_cpu )
17
18BOOST_AUTO_TEST_CASE( vector_dist_operators_apply_kernel_test )
19{
20 if (create_vcluster().getProcessingUnits() > 3)
21 return;
22
23 Box<3,float> box({0.0,0.0,0.0},{1.0,1.0,1.0});
24
25 // Boundary conditions
26 size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
27
28 // ghost
29 Ghost<3,float> ghost(0.05);
30
32
34}
35
36BOOST_AUTO_TEST_SUITE_END()
37
38
This class represent an N-dimensional box.
Definition Box.hpp:61
This class implement the point shape in an N-dimensional space.
Definition Point.hpp:28
Distributed vector.