Skip to content
Snippets Groups Projects
Commit 4d3ed957 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing testing

parent 09b6a57f
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment