git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30831
0785d39b-7218-0410-832d-
ea1e28bc413d
for (cell=dof_handler.begin_active(); cell<dof_handler.end(); ++cell)
if ((cell->center()[0]==0.625) && (cell->center()[1]==0.625))
cell->set_refine_flag();
-
+
triangulation.execute_coarsening_and_refinement();
dof_handler.distribute_dofs(fe_collection);
// Create the coloring
std::vector<std::vector<typename hp::DoFHandler<dim>::active_cell_iterator> > coloring(
- graph_coloring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end()));
+ graph_coloring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end()));
// Output the coloring
for (unsigned int color=0; color<coloring.size(); ++color)
int main()
{
- std::ofstream logfile("graph_coloring_03/output");
+ std::ofstream logfile("output");
deallog<<std::setprecision(4);
deallog<<std::fixed;
deallog.attach(logfile);
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams