// ---------------------------------------------------------------------
//
-// Copyright (C) 2006 - 2013 by the deal.II authors
+// Copyright (C) 2006 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
<< dof.has_level_dofs()
<< std::endl;
}
-
- // now check them the other way around
- {
- DoFHandler<dim> dof(tr);
- deallog << "check " << dim << " before distribute "
- << dof.has_active_dofs() << ' '
- << dof.has_level_dofs()
- << std::endl;
-
- dof.distribute_mg_dofs(fe);
- deallog << "check " << dim << " level distribute "
- << dof.has_active_dofs() << ' '
- << dof.has_level_dofs()
- << std::endl;
-
- dof.distribute_dofs(fe);
- deallog << "check " << dim << " after distribute "
- << dof.has_active_dofs() << ' '
- << dof.has_level_dofs()
- << std::endl;
-
- dof.clear();
- deallog << "check " << dim << " after clear "
- << dof.has_active_dofs() << ' '
- << dof.has_level_dofs()
- << std::endl;
- }
}
int main()
DEAL::check 1 after distribute 1 0
DEAL::check 1 level distribute 1 1
DEAL::check 1 after clear 0 0
-DEAL::check 1 before distribute 0 0
-DEAL::check 1 level distribute 0 1
-DEAL::check 1 after distribute 1 1
-DEAL::check 1 after clear 0 0
DEAL::check 2 before distribute 0 0
DEAL::check 2 after distribute 1 0
DEAL::check 2 level distribute 1 1
DEAL::check 2 after clear 0 0
-DEAL::check 2 before distribute 0 0
-DEAL::check 2 level distribute 0 1
-DEAL::check 2 after distribute 1 1
-DEAL::check 2 after clear 0 0
DEAL::check 3 before distribute 0 0
DEAL::check 3 after distribute 1 0
DEAL::check 3 level distribute 1 1
DEAL::check 3 after clear 0 0
-DEAL::check 3 before distribute 0 0
-DEAL::check 3 level distribute 0 1
-DEAL::check 3 after distribute 1 1
-DEAL::check 3 after clear 0 0