std::cerr<<__FILE__<<":"<<__LINE__<<" error to get symmetric cell-list you must construct the vector with the option BIND_DEC_TO_GHOST "<<std::endl;
ACTION_ON_ERROR(VECTOR_DIST_ERROR_OBJECT);
if(ghost.getLow(dim-1)==0.0)
{
std::cerr<<__FILE__<<":"<<__LINE__<<" Error the vector has been constructed without BIND_DEC_TO_GHOST, If you construct a vector without BIND_DEC_TO_GHOST the ghost must be full without reductions "<<std::endl;
std::cerr<<__FILE__<<":"<<__LINE__<<" Error the vector has been constructed without BIND_DEC_TO_GHOST, getVerletCrs require the vector to be constructed with BIND_DEC_TO_GHOST option "<<std::endl;
ACTION_ON_ERROR(VECTOR_DIST_ERROR_OBJECT);
}
#endif
#ifdef SE_CLASS3
se3.getNN();
#endif
...
...
@@ -1206,6 +1220,14 @@ public:
}
elseif(opt==VL_CRS_SYMMETRIC)
{
#ifdef SE_CLASS1
if((opt&BIND_DEC_TO_GHOST))
{
std::cerr<<__FILE__<<":"<<__LINE__<<" Error the vector has been constructed without BIND_DEC_TO_GHOST, updateVerlet with the option VL_CRS_SYMMETRIC require the vector to be constructed with BIND_DEC_TO_GHOST option "<<std::endl;
ACTION_ON_ERROR(VECTOR_DIST_ERROR_OBJECT);
}
#endif
auto&NN=ver.getInternalCellList();
// Here we have to check that the Box defined by the Cell-list is the same as the domain box of this
std::cerr<<__FILE__<<":"<<__LINE__<<" Error the vector has been constructed without BIND_DEC_TO_GHOST, getParticleIteratorCRS_Cell require the vector to be constructed with BIND_DEC_TO_GHOST option "<<std::endl;
ACTION_ON_ERROR(VECTOR_DIST_ERROR_OBJECT);
}
#endif
// Shift
grid_key_dx<dim>shift;
...
...
@@ -1982,6 +2012,18 @@ public:
NN.getNNc_sym());
}
/*! \brief Set the properties names
*
* It is useful to specify name for the properties in vtk writers
std::cerr<<__FILE__<<":"<<__LINE__<<" Error the vector has been constructed without BIND_DEC_TO_GHOST, getParticleIteratorCRS_Cell require the vector to be constructed with BIND_DEC_TO_GHOST option "<<std::endl;