Commit 4d3ed957 authored by incardon's avatar incardon

Fixing testing

parent 09b6a57f
......@@ -64,9 +64,6 @@ class grid_dist_id
//! It map a global ghost id (g_id) to the external ghost box information
std::unordered_map<size_t,size_t> g_id_to_external_ghost_box;
//!
openfpm::vector<conflict_res>
/*! \brief Get the grid size
*
* Given a domain, the resolution of the grid on it and another spaceBox contained in the domain
......
......@@ -21,6 +21,10 @@ BOOST_AUTO_TEST_CASE( vector_dist_ghost )
typedef Point_test<float> p;
typedef Point<2,float> s;
// TODO generalize
if (v_cl.getProcessingUnits() != 4)
return;
Box<2,float> box({0.0,0.0},{1.0,1.0});
size_t g_div[]= {16,16};
......@@ -158,6 +162,9 @@ BOOST_AUTO_TEST_CASE( vector_dist_iterator_test_use )
Vcluster & v_cl = *global_v_cluster;
if (v_cl.getProcessingUnits() != 4)
return;
// set the seed
// create the random generator engine
std::srand(v_cl.getProcessUnitID());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment