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

Parallel data structure

parent 5675618e
No related branches found
No related tags found
No related merge requests found
......@@ -150,14 +150,40 @@ class grid_dist
//! Space Decomposition
Decomposition dec;
public:
//! constructor
grid_dist(Decomposition dec)
grid_dist()
:loc_grid(NULL)
{
}
/*! \brief get the object that store the decomposition information
*
* get the object that store the decomposition information
*
* \return the decomposition object
*
*/
Decomposition & getDecomposition()
{
return dec;
}
/*! \brief Decompose the domain
*
* Decompose the domain
*
*/
void Decompose()
{
// ! Create an hyper-cube approximation.
// ! In order to work on grid_dist the decomposition
// ! has to be a set of hyper-cube
dec.HyperCube();
dec.hyperCube();
// Get the number of local grid needed
......
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