]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix indentation.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Sep 2000 12:22:45 +0000 (12:22 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Sep 2000 12:22:45 +0000 (12:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@3338 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/dof_test.cc

index 85431ed17a08bf8d3e207c9086f2e7d25d4ba4aa..63e85a2ceb6ab97d8ff9a42ffbebf59381ddea6a 100644 (file)
@@ -58,7 +58,7 @@ class Ball
       };
 
 
-virtual Point<dim>
+    virtual Point<dim>
     get_new_point_on_quad (const typename Triangulation<dim>::quad_iterator &quad) const
       {
        Point<dim> middle = StraightBoundary<dim>::get_new_point_on_quad(quad);
@@ -118,7 +118,7 @@ CurvedLine<dim>::get_new_point_on_line (const typename Triangulation<dim>::line_
       return middle;
 
 
-double x=middle(0),
+  double x=middle(0),
         y=middle(1);
   
   if (y<x)
@@ -137,6 +137,7 @@ double x=middle(0),
 };
 
 
+
 template <int dim>
 Point<dim>
 CurvedLine<dim>::get_new_point_on_quad (const typename Triangulation<dim>::quad_iterator &quad) const
@@ -171,6 +172,7 @@ CurvedLine<dim>::get_new_point_on_quad (const typename Triangulation<dim>::quad_
 };
 
 
+
 template <int dim>
 class TestCases
 {
@@ -189,11 +191,13 @@ class TestCases
 };
 
 
+
 template <int dim>
 TestCases<dim>::TestCases () :
                tria(0), dof(0) {};
 
 
+
 template <int dim>
 TestCases<dim>::~TestCases () 
 {
@@ -202,6 +206,7 @@ TestCases<dim>::~TestCases ()
 };
 
 
+
 template <int dim>
 void TestCases<dim>::create_new ()
 {
@@ -215,6 +220,7 @@ void TestCases<dim>::create_new ()
 };
 
 
+
 template <int dim>
 void TestCases<dim>::run (const unsigned int test_case)
 {
@@ -288,7 +294,7 @@ void TestCases<dim>::run (const unsigned int test_case)
     };
 
 
-deallog << "    Distributing degrees of freedom..." << endl;
+  deallog << "    Distributing degrees of freedom..." << endl;
   FEQ1<dim> fe;
   dof->distribute_dofs (fe);
 
@@ -299,14 +305,14 @@ deallog << "    Distributing degrees of freedom..." << endl;
                            dof->max_couplings_between_dofs());
 
 
-DoFTools::make_sparsity_pattern (*dof, sparsity);
+  DoFTools::make_sparsity_pattern (*dof, sparsity);
   int unconstrained_bandwidth = sparsity.bandwidth();
 
   deallog << "    Writing sparsity pattern..." << endl;
   sparsity.print_gnuplot (logfile);
 
 
-// computing constraints
+                                  // computing constraints
   deallog << "    Computing constraints..." << endl;
   ConstraintMatrix constraints;
   DoFTools::make_hanging_node_constraints (*dof, constraints);
@@ -317,14 +323,14 @@ DoFTools::make_sparsity_pattern (*dof, sparsity);
   sparsity.print_gnuplot (logfile);
 
 
-deallog << endl
-       << "    Total number of cells         = " << tria->n_cells() << endl
-       << "    Total number of active cells  = " << tria->n_active_cells() << endl
-       << "    Number of DoFs                = " << dof->n_dofs() << endl
-       << "    Number of constraints         = " << constraints.n_constraints() << endl
-       << "    Unconstrained matrix bandwidth= " << unconstrained_bandwidth << endl
-       << "    Constrained matrix bandwidth  = " << sparsity.bandwidth()
-       << endl << endl;
+  deallog << endl
+         << "    Total number of cells         = " << tria->n_cells() << endl
+         << "    Total number of active cells  = " << tria->n_active_cells() << endl
+         << "    Number of DoFs                = " << dof->n_dofs() << endl
+         << "    Number of constraints         = " << constraints.n_constraints() << endl
+         << "    Unconstrained matrix bandwidth= " << unconstrained_bandwidth << endl
+         << "    Constrained matrix bandwidth  = " << sparsity.bandwidth()
+         << endl << endl;
 
                                   // release the lock that dof has to the
                                   // finite element object
@@ -332,6 +338,7 @@ deallog << endl
 };
 
 
+
 int main ()
 {
   deallog.attach(logfile);

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.