From: Timo Heister Date: Tue, 20 Oct 2015 21:01:14 +0000 (-0400) Subject: astyle X-Git-Tag: v8.4.0-rc2~277^2~16 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f421f93cdcb85c0b45436ace150456cd92c1398f;p=dealii.git astyle --- diff --git a/tests/multigrid/constrained_dofs_01.cc b/tests/multigrid/constrained_dofs_01.cc index ea80f9143e..4a046d54bd 100644 --- a/tests/multigrid/constrained_dofs_01.cc +++ b/tests/multigrid/constrained_dofs_01.cc @@ -141,21 +141,21 @@ void check_fe(FiniteElement &fe) bi.print(deallog); { - // check that refinement_edge_boundary_indices (deprecated) is really - // the intersection of the sets above: - IndexSet intersect = rei & bi; - std::vector ref = mg_constrained_dofs.get_refinement_edge_boundary_indices()[level]; - - unsigned int idx = 0; - for (std::vector::iterator it = ref.begin(); it != ref.end(); ++it, ++idx) - { - if ((*it == true) != intersect.is_element(idx)) - deallog << "mismatch idx=" << idx << " " - << (*it == true) << " " << intersect.is_element(idx) << std::endl; - } + // check that refinement_edge_boundary_indices (deprecated) is really + // the intersection of the sets above: + IndexSet intersect = rei & bi; + std::vector ref = mg_constrained_dofs.get_refinement_edge_boundary_indices()[level]; + + unsigned int idx = 0; + for (std::vector::iterator it = ref.begin(); it != ref.end(); ++it, ++idx) + { + if ((*it == true) != intersect.is_element(idx)) + deallog << "mismatch idx=" << idx << " " + << (*it == true) << " " << intersect.is_element(idx) << std::endl; + } } - - + + IndexSet relevant; DoFTools::extract_locally_relevant_mg_dofs (dofh, relevant, level); diff --git a/tests/multigrid/transfer_04a.cc b/tests/multigrid/transfer_04a.cc index 5e5fa2676f..ee4f830a9e 100644 --- a/tests/multigrid/transfer_04a.cc +++ b/tests/multigrid/transfer_04a.cc @@ -98,22 +98,22 @@ void check_fe(FiniteElement &fe) setup_tria(tr); if (false) - { - DataOut data_out; - Vector subdomain (tr.n_active_cells()); - for (unsigned int i=0; i data_out; + Vector subdomain (tr.n_active_cells()); + for (unsigned int i=0; i zero;