diff --git a/openfpm_numerics b/openfpm_numerics index 90e8aaa87e5626d888ff78918e3161ddffd5a2a0..a9ea8f7d598d205d3deae6aaf9f4ac59354befaf 160000 --- a/openfpm_numerics +++ b/openfpm_numerics @@ -1 +1 @@ -Subproject commit 90e8aaa87e5626d888ff78918e3161ddffd5a2a0 +Subproject commit a9ea8f7d598d205d3deae6aaf9f4ac59354befaf diff --git a/src/Decomposition/CartDecomposition.hpp b/src/Decomposition/CartDecomposition.hpp index 71341b61d77ae941072ad318443b5aa9e317b3f3..11d72f5b80923389e4649c938c4ea9251e34aef9 100644 --- a/src/Decomposition/CartDecomposition.hpp +++ b/src/Decomposition/CartDecomposition.hpp @@ -1088,6 +1088,19 @@ p1[0]<-----+ +----> p2[0] return true; } + /*! \brief Get the Virtual Cluster machine + * + * \return the Virtual cluster machine + * + */ + Vcluster & getVC() const + { +#ifdef SE_CLASS2 + check_valid(this,8); +#endif + return v_cl; + } + /*! \brief function to check the consistency of the information of the decomposition * * \return false if is inconsistent diff --git a/src/Graph/CartesianGraphFactory.hpp b/src/Graph/CartesianGraphFactory.hpp index 88f3f9b2c7b92892bd983f1ded2a8c7fae7410cd..2f0db9f28c56d4ce72a0be9d82c7af14c8688cce 100644 --- a/src/Graph/CartesianGraphFactory.hpp +++ b/src/Graph/CartesianGraphFactory.hpp @@ -195,11 +195,6 @@ public: //! Construct cartesian graph static Graph construct(const size_t ( & sz)[dim], Box<dim,T> dom, const size_t(& bc)[dim]) { - size_t bc[dim]; - - for (size_t i = 0 ; i < dim ; i++) - bc[i] = NON_PERIODIC; - // Calculate the size of the hyper-cubes on each dimension T szd[dim]; diff --git a/src/Grid/grid_dist_id.hpp b/src/Grid/grid_dist_id.hpp index c958f2027f41358a9358c43b7c86b692e78124ee..ccd8eec4b6f238f37bbcd0ae5f68a078ce7b7947 100644 --- a/src/Grid/grid_dist_id.hpp +++ b/src/Grid/grid_dist_id.hpp @@ -925,7 +925,6 @@ public: * \return the Virtual cluster machine * */ - Vcluster & getVC() { #ifdef SE_CLASS2