Skip to content
Snippets Groups Projects
Commit 025bc770 authored by Robert Kloefkorn's avatar Robert Kloefkorn
Browse files

lb with bisection seems to work now.

parent 636bfd8c
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ void checkRefinements( GitterType& grid )
// refine grid globally, i.e. mark all elements and then call adapt
template <class GitterType>
void globalRefine(GitterType& grid, bool global, int step, int mxl,
const bool loadBalance = false )
const bool loadBalance = true )
{
{
if (global)
......@@ -302,11 +302,13 @@ int main (int argc, char ** argv, const char ** envp)
grid.tovtk( ss.str().c_str() );
globalRefine(grid, false,i, mxl);
}
/*
{
std::ostringstream ss;
ss << "out-" << ZeroPadNumber(mxl) << ".vtu";
grid.tovtk( ss.str().c_str() );
}
*/
/*
globalCoarsening(grid,3*glb);
{
......
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