]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor indentation changes.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Sep 2005 20:42:16 +0000 (20:42 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Sep 2005 20:42:16 +0000 (20:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@11389 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index bc82fc01c4ad8e9315a74a44753df8458f37770f..0b3492cea81631741d742481d26bbff38e7e3f75 100644 (file)
@@ -46,7 +46,7 @@ void
 DoFTools::
 compute_row_length_vector(const DoFHandler<dim>     &dofs,
                           std::vector<unsigned int> &row_lengths,
-                          const Coupling flux_coupling)
+                          const Coupling             flux_coupling)
 {
   const FiniteElement<dim>& fe = dofs.get_fe();
   Assert (row_lengths.size() == dofs.n_dofs(),
@@ -74,7 +74,9 @@ compute_row_length_vector(const DoFHandler<dim>     &dofs,
       if (flux_coupling != none)
        for (unsigned int face=0;face<GeometryInfo<dim>::faces_per_cell;++face)
          {
-           if (cell->at_boundary(face)) continue;
+           if (cell->at_boundary(face))
+              continue;
+            
            for (unsigned int i=0; i<fe.dofs_per_cell; ++i)
              row_lengths[cell_indices[i]] += fe.dofs_per_cell;
        }
@@ -150,10 +152,9 @@ DoFTools::compute_row_length_vector(
 // Template for 2D and 3D. For 1D see specialization above
 template <int dim>
 void
-DoFTools::compute_row_length_vector(
-  const DoFHandler<dim>& dofs,
-  std::vector<unsigned int>& row_lengths,
-  const Coupling flux_coupling)
+DoFTools::compute_row_length_vector(const DoFHandler<dim>     &dofs,
+                                    std::vector<unsigned int> &row_lengths,
+                                    const Coupling             flux_coupling)
 {
   const FiniteElement<dim>& fe = dofs.get_fe();
   Assert (row_lengths.size() == dofs.n_dofs(),

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.