]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Indendation...
authorMathias Anselmann <mathias.anselmann@posteo.de>
Thu, 6 Jun 2019 21:57:59 +0000 (23:57 +0200)
committerMathias Anselmann <mathias.anselmann@posteo.de>
Thu, 6 Jun 2019 21:57:59 +0000 (23:57 +0200)
source/dofs/dof_tools_constraints.cc
tests/dofs/dof_tools_16a.cc
tests/dofs/dof_tools_16b.cc
tests/dofs/dof_tools_16c.cc
tests/dofs/dof_tools_16d.cc
tests/dofs/dof_tools_18a_1d.cc
tests/dofs/dof_tools_19.cc
tests/dofs/dof_tools_21.cc
tests/dofs/dof_tools_common.h
tests/dofs/dof_tools_common_parallel.h

index 9c72684871cd594d05b6bce2d550e52d0d15aeeb..97f8166e360bf28287759068315bbae862f2c061 100644 (file)
@@ -3133,8 +3133,9 @@ namespace DoFTools
       {
         std::vector<bool> mask(coarse_grid.get_fe(0).n_components(), false);
         mask[coarse_component] = true;
-        extract_dofs<DoFHandler<dim, spacedim>>(
-          coarse_grid, ComponentMask(mask), coarse_dof_is_parameter);
+        extract_dofs<DoFHandler<dim, spacedim>>(coarse_grid,
+                                                ComponentMask(mask),
+                                                coarse_dof_is_parameter);
       }
 
     // now we know that the weights in each row constitute a constraint. enter
index 70cc3c2d21297768c61adb72a8ca4a0914b32787..5c60c89d4e41ff96c61facb99504115886c85e9f 100644 (file)
@@ -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<types::boundary_id, const Function<dof_handler.dimension> *> boundary_ids;
+  std::map<types::boundary_id, const Function<dof_handler.dimension> *>
+    boundary_ids;
   boundary_ids[0] = nullptr;
   SparsityPattern sp(dof_handler.n_boundary_dofs(boundary_ids),
                      dof_handler.max_couplings_between_dofs());
index 6c93ba9dc0aaaee55bea57c5ebdc30d2fddd4f08..5754407f95b7a4974502d9548fb4e6cfce0fce7f 100644 (file)
@@ -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<types::boundary_id, const Function<dof_handler.dimension> *> boundary_ids;
+  std::map<types::boundary_id, const Function<dof_handler.dimension> *>
+    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);
index 7d7cab8c5cee80c9df6046e7dac1a5919c4ad551..8ed21c303c028c889bae7623800e71c8c29aa985 100644 (file)
@@ -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<types::boundary_id, const Function<dof_handler.dimension> *> boundary_ids;
+  std::map<types::boundary_id, const Function<dof_handler.dimension> *>
+    boundary_ids;
   boundary_ids[0] = nullptr;
   const unsigned int n_boundary_dofs =
     dof_handler.n_boundary_dofs(boundary_ids);
index 1afe6a71b4a8027455301a36d49b6d990c450884..ea2da713adf76f8fd14cc5c57c60b003101a11a8 100644 (file)
@@ -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<types::boundary_id, const Function<dof_handler.dimension> *> boundary_ids;
+  std::map<types::boundary_id, const Function<dof_handler.dimension> *>
+    boundary_ids;
   boundary_ids[0] = nullptr;
   const types::global_dof_index n_boundary_dofs =
     dof_handler.n_boundary_dofs(boundary_ids);
index d92dade4c10a87dec53532f0926b006eaabe1220..58ad9b7fdb631991bf286e6304621fecfd83535e 100644 (file)
@@ -110,7 +110,7 @@ check_this()
   DoFHandler<dim> dof_handler(tr);
   dof_handler.distribute_dofs(fe);
 
-  check_this<DoFHandler<dim> >(dof_handler);
+  check_this<DoFHandler<dim>>(dof_handler);
 }
 
 
index 183f90fdc86354b97fee5c54b4fed75a2fda60a8..bca851c6f21f2012d23fe00d250a6ad404c89342 100644 (file)
@@ -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<dof_handler.dimension>    quadrature(6);
-  Vector<double> solution(dof_handler.n_dofs());
+  QGauss<dof_handler.dimension> quadrature(6);
+  Vector<double>                solution(dof_handler.n_dofs());
 
   VectorTools::project(dof_handler, cm, quadrature, test_func, solution);
   cm.distribute(solution);
index da334c0722c19c000b5b5cdd9877cd36c29a10bd..449695efd18a9b5f60928a9575e53217380fe046 100644 (file)
@@ -48,7 +48,8 @@ template <typename DoFHandlerType>
 void
 check_this(const DoFHandlerType &dof_handler)
 {
-  Functions::CosineFunction<dof_handler.dimension> test_func(dof_handler.get_fe().n_components());
+  Functions::CosineFunction<dof_handler.dimension> test_func(
+    dof_handler.get_fe().n_components());
 
   AffineConstraints<double> cm;
 
index c60991cc18024b7cb11503b25523912c02b6df43..a6d7c88faea0b94cddcb580c519ab3a0c80ca576 100644 (file)
@@ -106,8 +106,11 @@ check(const FiniteElement<dim> &fe, const std::string &name)
   hp_dof_handler.distribute_dofs(fe_collection);
 
   // call main function in .cc files
-  check_this<DoFHandler<dof_handler.dimension, dof_handler.space_dimension> >(dof_handler);
-  check_this<hp::DoFHandler<hp_dof_handler.dimension, hp_dof_handler.space_dimension> >(hp_dof_handler);
+  check_this<DoFHandler<dof_handler.dimension, dof_handler.space_dimension>>(
+    dof_handler);
+  check_this<
+    hp::DoFHandler<hp_dof_handler.dimension, hp_dof_handler.space_dimension>>(
+    hp_dof_handler);
 }
 
 
index 7a613ac25be41da1385e71bf4358c025fa098a06..60e244465a257b1104a70a980a25f1d3e95cb1b7 100644 (file)
@@ -89,8 +89,11 @@ check(const FiniteElement<dim> &fe, const std::string &name)
   hp::DoFHandler<dim>   hp_dof_handler(tria);
   hp_dof_handler.distribute_dofs(fe_collection);
 
-  check_this<DoFHandler<dof_handler.dimension, dof_handler.space_dimension> >(dof_handler);
-  check_this<hp::DoFHandler<hp_dof_handler.dimension, hp_dof_handler.space_dimension> >(hp_dof_handler);
+  check_this<DoFHandler<dof_handler.dimension, dof_handler.space_dimension>>(
+    dof_handler);
+  check_this<
+    hp::DoFHandler<hp_dof_handler.dimension, hp_dof_handler.space_dimension>>(
+    hp_dof_handler);
 }
 
 

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


Typeset in Trocchi and Trocchi Bold Sans Serif.