8 #ifndef SRC_VECTOR_TESTS_VECTOR_DIST_UTIL_UNIT_TESTS_HPP_
9 #define SRC_VECTOR_TESTS_VECTOR_DIST_UTIL_UNIT_TESTS_HPP_
24 template<
unsigned int dim,
typename vector_dist>
inline void count_local_n_local(
vector_dist & vd,
vector_dist_iterator & it,
size_t (& bc)[dim] ,
Box<dim,float> & box,
Box<dim,float> & dom_ext,
size_t & l_cnt,
size_t & nl_cnt,
size_t & n_out)
bool isInsideNP(const Point< dim, T > &p) const
Check if the point is inside the region excluding the positive part.
bool isInside(const Point< dim, T > &p) const
Check if the point is inside the box.
auto getPos(vect_dist_key_dx vec_key) -> decltype(v_pos.template get< 0 >(vec_key.getKey()))
Get the position of an element.
Iterator that Iterate across particle indexes.
Decomposition & getDecomposition()
Get the decomposition.
This class implement the point shape in an N-dimensional space.
bool isLocalBC(const encapc< 1, Point< dim, T >, Mem > p, const size_t(&bc)[dim]) const
Check if the particle is local considering boundary conditions.
bool isNext()
Check if there is the next element.
This class decompose a space into sub-sub-domains and distribute them across processors.
This class represent an N-dimensional box.
This class is a trick to indicate the compiler a specific specialization pattern. ...
vect_dist_key_dx get()
Get the actual key.