Commit c66a0b34 authored by incardon's avatar incardon

Symmetric fixed

parent 9339af74
openfpm_data @ 1a387174
Subproject commit 121d1dfc207414283bc16ab35a278b91422720be
Subproject commit 1a387174540b03143ab5d3a2dc889875c9f10e03
......@@ -198,7 +198,7 @@ class domain_nn_calculator_cart
/*! \brief Linearize the sub-sub-domains
*
* \param anon set of grid keys to linearize
* \param anom set of grid keys to linearize
* \param anom_lin linearized output
* \param shift shifting
*
......@@ -256,8 +256,9 @@ public:
/*! \brief Set parameters to calculate the cell neighborhood
*
* \param shift to apply in the linearization
* \param loc_box set of local sub-domains
* \param shift to apply in the linearization
* \param gs grid of cells (for the processor domain)
*
*/
void setNNParameters(openfpm::vector<::Box<dim, size_t>> & loc_box,
......@@ -284,7 +285,6 @@ public:
/*! \brief Get the domain Cells
*
* \param loc_box set of local sub-domains
*
* \return The set of domain cells
*
......@@ -296,7 +296,6 @@ public:
/*! \brief Get the domain Cells
*
* \param loc_box set of local sub-domains
*
* \return The set of domain cells
*
......@@ -308,7 +307,6 @@ public:
/*! \brief Get the domain anomalous cells
*
* \param loc_box set of local sub-domains
*
* \return The set of anomalous cells
*
......
......@@ -16,8 +16,6 @@ BOOST_AUTO_TEST_SUITE( staggered_grid_dist_id_test )
BOOST_AUTO_TEST_CASE( staggered_grid_dist_unit_test)
{
typedef Point2D_test<float> p;
// Domain
Box<2,float> domain({0.0,0.0},{1.0,1.0});
......
......@@ -731,18 +731,6 @@ public:
return cell_list;
}
/*! \brief return the neighborhood cells of a cells to do symmetric interactions
*
* \warning Used in in combination of getNNIteratorSym in a Cell-list
*
* \return the neighborhood cells of a cell
*
*
*/
/* const openfpm::vector<subsub_lin<dim>> & getNNCells(size_t cell) const
{
return getDecomposition().getDomainCellNNSym();
}*/
/*! \brief Construct a cell list symmetric based on a cut of radius
*
......
......@@ -240,7 +240,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_particle_iteration )
// Boundary conditions
size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
float r_cut = 0.01;
float r_cut = 0.1;
// ghost
Ghost<3,float> ghost(r_cut);
......
......@@ -812,7 +812,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_symmetric_verlet_list )
typedef aggregate<size_t,size_t,size_t,openfpm::vector<point_and_gid>,openfpm::vector<point_and_gid>> part_prop;
// Distributed vector
vector_dist<3,float, part_prop > vd(k,box,bc,ghost);
vector_dist<3,float, part_prop > vd(k,box,bc,ghost,BIND_DEC_TO_GHOST);
size_t start = vd.init_size_accum(k);
auto it = vd.getIterator();
......
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