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

Small changes for numerics

parent dec33a73
No related branches found
No related tags found
No related merge requests found
openfpm_numerics @ a9ea8f7d
Subproject commit 90e8aaa87e5626d888ff78918e3161ddffd5a2a0 Subproject commit a9ea8f7d598d205d3deae6aaf9f4ac59354befaf
...@@ -1088,6 +1088,19 @@ p1[0]<-----+ +----> p2[0] ...@@ -1088,6 +1088,19 @@ p1[0]<-----+ +----> p2[0]
return true; 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 /*! \brief function to check the consistency of the information of the decomposition
* *
* \return false if is inconsistent * \return false if is inconsistent
......
...@@ -195,11 +195,6 @@ public: ...@@ -195,11 +195,6 @@ public:
//! Construct cartesian graph //! Construct cartesian graph
static Graph construct(const size_t ( & sz)[dim], Box<dim,T> dom, const size_t(& bc)[dim]) 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 // Calculate the size of the hyper-cubes on each dimension
T szd[dim]; T szd[dim];
......
...@@ -925,7 +925,6 @@ public: ...@@ -925,7 +925,6 @@ public:
* \return the Virtual cluster machine * \return the Virtual cluster machine
* *
*/ */
Vcluster & getVC() Vcluster & getVC()
{ {
#ifdef SE_CLASS2 #ifdef SE_CLASS2
......
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