Skip to content
Snippets Groups Projects

[parallel] Uncomment the parallel interface member functions

Merged Timo Koch requested to merge feature/uncomment-empty-parallel-interface into master
1 unresolved thread
+ 11
4
@@ -535,11 +535,18 @@ class FoamGrid :
}
/** \brief Distributes this grid over the available nodes in a distributed machine
*
* \param minlevel The coarsest grid level that gets distributed
* \param maxlevel does currently get ignored
*/
void loadBalance(int strategy, int minlevel, int depth, int maxlevel, int minelement) {}
template<class DataHandle>
void loadBalance(DataHandle& data)
{
loadBalance();
}
void loadBalance()
{
if (comm().size() > 1)
DUNE_THROW(Dune::NotImplemented, "Load balancing not implemented. Foamgrid does not run in parallel yet!");
}
/** \brief The communication interface
* @param T: array class holding data associated with the entities
Loading