/*! It constructs a grid of a specified size, defined on a specified Box space, forcing to follow a specified decomposition and with a specified ghost size
// Increment the reference counter of the decomposition
this->dec.incRef();
...
...
@@ -633,9 +681,16 @@ public:
InitializeStructures(g_sz);
}
//! constructor
/*! It constructs a grid of a specified size, defined on a specified Box space, forcing to follow a specified decomposition and with a specified ghost size
/*! \brief Get the spacing of the grid in direction i
/*! It constructs a grid of a specified size, defined on a specified Box space, forcing to follow a specified decomposition, and having a specified ghost size
*
* \return the spacing
* \param dec Decomposition
* \param g_sz grid size on each dimension
* \param domain Box that contain the grid
* \param ghost Ghost part (given in grid units)
*
* \warning In very rare case the ghost part can be one point bigger than the one specified
*
*/
inlineStspacing(size_ti)const
{
returncd_sm.getCellBox().getHigh(i);
}
/*! \brief Constrcuctor
*
* \param g_sz array with the grid size on each dimension
* \param g_sz array with the grid size on each dimension
* \param domain domain where this grid live
* \param g Ghost given in grid units
*
*/
/*! It construct a grid of a specified size, defined on a specified Box space, forcing to follow a specified decomposition, and having a specified ghost size
*
* \param dec Decomposition
* \param g_sz grid size on each dimension
* \param domain Box that contain the grid
* \param ghost Ghost part (given in grid units)
*
* \warning In very rare case the ghost part can be one point bigger than the one specified