Commit 095d0bdb authored by incardon's avatar incardon
Browse files

Parallel data structure

parent 5675618e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment