From: Mathias Anselmann Date: Thu, 6 Jun 2019 21:57:59 +0000 (+0200) Subject: Indendation... X-Git-Tag: v9.2.0-rc1~1436^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b55c8870199b88e2b45564dedf196d6e89ac6bbc;p=dealii.git Indendation... --- diff --git a/source/dofs/dof_tools_constraints.cc b/source/dofs/dof_tools_constraints.cc index 9c72684871..97f8166e36 100644 --- a/source/dofs/dof_tools_constraints.cc +++ b/source/dofs/dof_tools_constraints.cc @@ -3133,8 +3133,9 @@ namespace DoFTools { std::vector mask(coarse_grid.get_fe(0).n_components(), false); mask[coarse_component] = true; - extract_dofs>( - coarse_grid, ComponentMask(mask), coarse_dof_is_parameter); + extract_dofs>(coarse_grid, + ComponentMask(mask), + coarse_dof_is_parameter); } // now we know that the weights in each row constitute a constraint. enter diff --git a/tests/dofs/dof_tools_16a.cc b/tests/dofs/dof_tools_16a.cc index 70cc3c2d21..5c60c89d4e 100644 --- a/tests/dofs/dof_tools_16a.cc +++ b/tests/dofs/dof_tools_16a.cc @@ -45,7 +45,8 @@ check_this(const DoFHandlerType &dof_handler) DoFTools::map_dof_to_boundary_indices(dof_handler, set, map); // create sparsity pattern - std::map *> boundary_ids; + std::map *> + boundary_ids; boundary_ids[0] = nullptr; SparsityPattern sp(dof_handler.n_boundary_dofs(boundary_ids), dof_handler.max_couplings_between_dofs()); diff --git a/tests/dofs/dof_tools_16b.cc b/tests/dofs/dof_tools_16b.cc index 6c93ba9dc0..5754407f95 100644 --- a/tests/dofs/dof_tools_16b.cc +++ b/tests/dofs/dof_tools_16b.cc @@ -45,7 +45,8 @@ check_this(const DoFHandlerType &dof_handler) DoFTools::map_dof_to_boundary_indices(dof_handler, set, map); // create sparsity pattern - std::map *> boundary_ids; + std::map *> + boundary_ids; boundary_ids[0] = nullptr; DynamicSparsityPattern sp(dof_handler.n_boundary_dofs(boundary_ids)); DoFTools::make_boundary_sparsity_pattern(dof_handler, boundary_ids, map, sp); diff --git a/tests/dofs/dof_tools_16c.cc b/tests/dofs/dof_tools_16c.cc index 7d7cab8c5c..8ed21c303c 100644 --- a/tests/dofs/dof_tools_16c.cc +++ b/tests/dofs/dof_tools_16c.cc @@ -44,7 +44,8 @@ check_this(const DoFHandlerType &dof_handler) set.insert(0); DoFTools::map_dof_to_boundary_indices(dof_handler, set, map); - std::map *> boundary_ids; + std::map *> + boundary_ids; boundary_ids[0] = nullptr; const unsigned int n_boundary_dofs = dof_handler.n_boundary_dofs(boundary_ids); diff --git a/tests/dofs/dof_tools_16d.cc b/tests/dofs/dof_tools_16d.cc index 1afe6a71b4..ea2da713ad 100644 --- a/tests/dofs/dof_tools_16d.cc +++ b/tests/dofs/dof_tools_16d.cc @@ -44,7 +44,8 @@ check_this(const DoFHandlerType &dof_handler) set.insert(0); DoFTools::map_dof_to_boundary_indices(dof_handler, set, map); - std::map *> boundary_ids; + std::map *> + boundary_ids; boundary_ids[0] = nullptr; const types::global_dof_index n_boundary_dofs = dof_handler.n_boundary_dofs(boundary_ids); diff --git a/tests/dofs/dof_tools_18a_1d.cc b/tests/dofs/dof_tools_18a_1d.cc index d92dade4c1..58ad9b7fdb 100644 --- a/tests/dofs/dof_tools_18a_1d.cc +++ b/tests/dofs/dof_tools_18a_1d.cc @@ -110,7 +110,7 @@ check_this() DoFHandler dof_handler(tr); dof_handler.distribute_dofs(fe); - check_this >(dof_handler); + check_this>(dof_handler); } diff --git a/tests/dofs/dof_tools_19.cc b/tests/dofs/dof_tools_19.cc index 183f90fdc8..bca851c6f2 100644 --- a/tests/dofs/dof_tools_19.cc +++ b/tests/dofs/dof_tools_19.cc @@ -74,8 +74,8 @@ check_this(const DoFHandlerType &dof_handler) deallog << cm.max_constraint_indirections() << std::endl; // L_2 project constant function onto field - QGauss quadrature(6); - Vector solution(dof_handler.n_dofs()); + QGauss quadrature(6); + Vector solution(dof_handler.n_dofs()); VectorTools::project(dof_handler, cm, quadrature, test_func, solution); cm.distribute(solution); diff --git a/tests/dofs/dof_tools_21.cc b/tests/dofs/dof_tools_21.cc index da334c0722..449695efd1 100644 --- a/tests/dofs/dof_tools_21.cc +++ b/tests/dofs/dof_tools_21.cc @@ -48,7 +48,8 @@ template void check_this(const DoFHandlerType &dof_handler) { - Functions::CosineFunction test_func(dof_handler.get_fe().n_components()); + Functions::CosineFunction test_func( + dof_handler.get_fe().n_components()); AffineConstraints cm; diff --git a/tests/dofs/dof_tools_common.h b/tests/dofs/dof_tools_common.h index c60991cc18..a6d7c88fae 100644 --- a/tests/dofs/dof_tools_common.h +++ b/tests/dofs/dof_tools_common.h @@ -106,8 +106,11 @@ check(const FiniteElement &fe, const std::string &name) hp_dof_handler.distribute_dofs(fe_collection); // call main function in .cc files - check_this >(dof_handler); - check_this >(hp_dof_handler); + check_this>( + dof_handler); + check_this< + hp::DoFHandler>( + hp_dof_handler); } diff --git a/tests/dofs/dof_tools_common_parallel.h b/tests/dofs/dof_tools_common_parallel.h index 7a613ac25b..60e244465a 100644 --- a/tests/dofs/dof_tools_common_parallel.h +++ b/tests/dofs/dof_tools_common_parallel.h @@ -89,8 +89,11 @@ check(const FiniteElement &fe, const std::string &name) hp::DoFHandler hp_dof_handler(tria); hp_dof_handler.distribute_dofs(fe_collection); - check_this >(dof_handler); - check_this >(hp_dof_handler); + check_this>( + dof_handler); + check_this< + hp::DoFHandler>( + hp_dof_handler); }