]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix wrong indentations. *sigh* astyle is not stable wrt version numbers.
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 18 Jul 2013 21:38:49 +0000 (21:38 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 18 Jul 2013 21:38:49 +0000 (21:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@30053 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc
deal.II/include/deal.II/grid/filtered_iterator.h
deal.II/include/deal.II/numerics/vector_tools.templates.h
deal.II/source/base/auto_derivative_function.cc
deal.II/source/base/timer.cc
deal.II/source/lac/trilinos_solver.cc

index 8b9dd103a0f88c5a9472e89682cc7cf59c7e1ca5..e8d0062099793da92621c8a358279c48878d4ec6 100644 (file)
@@ -15,7 +15,7 @@
 // ---------------------------------------------------------------------
 
 /*
- * Authors: Martin Kronbichler, Uppsala University, 
+ * Authors: Martin Kronbichler, Uppsala University,
  *          Wolfgang Bangerth, Texas A&M University 2007, 2008
  */
 
index 4424cda65b421262db18087daf10fbe8f16ed3bb..c6a4c56f840b3795dcebae32092a8dcde3ba59e8 100644 (file)
@@ -800,7 +800,7 @@ FilteredIterator (const FilteredIterator &fi)
 // address of fi, GCC would not cast fi to the base class of type
 // BaseIterator but tries to go through constructing a new
 // BaseIterator with an Accessor.
-  BaseIterator (*(BaseIterator*)(&fi)),
+  BaseIterator (*(BaseIterator *)(&fi)),
   predicate (fi.predicate->clone ())
 {}
 
index e33397e0ff788c40461943c15291703bf4562f7f..44e561fc95ae191752e8c724dee928578d0cec73 100644 (file)
@@ -543,12 +543,12 @@ namespace VectorTools
      */
     template <int dim, int spacedim>
     void project_compute_b_v (const Mapping<dim, spacedim>   &mapping,
-                  const DoFHandler<dim,spacedim> &dof,
-                  const Function<spacedim> &function,
-                  const bool                enforce_zero_boundary,
-                  const Quadrature<dim-1>  &q_boundary,
-                  const bool                project_to_boundary_first,
-                  std::map<types::global_dof_index,double> &boundary_values)
+                              const DoFHandler<dim,spacedim> &dof,
+                              const Function<spacedim> &function,
+                              const bool                enforce_zero_boundary,
+                              const Quadrature<dim-1>  &q_boundary,
+                              const bool                project_to_boundary_first,
+                              std::map<types::global_dof_index,double> &boundary_values)
     {
       if (enforce_zero_boundary == true)
         // no need to project boundary
@@ -583,7 +583,7 @@ namespace VectorTools
      * freedom that is already constrained to something else
      */
     bool constraints_and_b_v_are_compatible (const ConstraintMatrix   &constraints,
-        std::map<types::global_dof_index,double> &boundary_values)
+                                             std::map<types::global_dof_index,double> &boundary_values)
     {
       for (std::map<types::global_dof_index,double>::iterator it=boundary_values.begin();
            it != boundary_values.end(); ++it)
@@ -624,7 +624,7 @@ namespace VectorTools
 
     // check if constraints are compatible (see below)
     const bool constraints_are_compatible =
-        constraints_and_b_v_are_compatible(constraints, boundary_values);
+      constraints_and_b_v_are_compatible(constraints, boundary_values);
 
     // set up mass matrix and right hand side
     Vector<double> vec (dof.n_dofs());
index 7788498ea0f74d7b7ca59afa76552546dd9aad8b..9c404d76e9f4aca755741a37c1039818c1adb93f 100644 (file)
@@ -166,7 +166,7 @@ vector_gradient (const Point<dim>            &p,
       Point<dim> q1, q2, q3, q4;
       Vector<double>
       v1(this->n_components), v2(this->n_components),
-      v3(this->n_components), v4(this->n_components);
+         v3(this->n_components), v4(this->n_components);
       const double h_inv_12=1./(12*h);
       for (unsigned int i=0; i<dim; ++i)
         {
index 431cd2c65c75f9880334452b6af11a5e7fbc13f8..d931000e8296ad411d1cc5098fac2138322b1507 100644 (file)
@@ -268,13 +268,13 @@ void Timer::reset ()
 TimerOutput::TimerOutput (std::ostream &stream,
                           const enum OutputFrequency output_frequency,
                           const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-                 output_type (output_type),
-                 out_stream (stream, true),
-                 output_is_enabled (true)
+  :
+  output_frequency (output_frequency),
+  output_type (output_type),
+  out_stream (stream, true),
+  output_is_enabled (true)
 #ifdef DEAL_II_WITH_MPI
-                 , mpi_communicator (MPI_COMM_SELF)
+  , mpi_communicator (MPI_COMM_SELF)
 #endif
 {}
 
@@ -283,13 +283,13 @@ output_frequency (output_frequency),
 TimerOutput::TimerOutput (ConditionalOStream &stream,
                           const enum OutputFrequency output_frequency,
                           const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-output_type (output_type),
-out_stream (stream),
-output_is_enabled (true)
+  :
+  output_frequency (output_frequency),
+  output_type (output_type),
+  out_stream (stream),
+  output_is_enabled (true)
 #ifdef DEAL_II_WITH_MPI
-, mpi_communicator (MPI_COMM_SELF)
+  , mpi_communicator (MPI_COMM_SELF)
 #endif
 {}
 
@@ -300,12 +300,12 @@ TimerOutput::TimerOutput (MPI_Comm      mpi_communicator,
                           std::ostream &stream,
                           const enum OutputFrequency output_frequency,
                           const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-output_type (output_type),
-out_stream (stream, true),
-output_is_enabled (true),
-mpi_communicator (mpi_communicator)
+  :
+  output_frequency (output_frequency),
+  output_type (output_type),
+  out_stream (stream, true),
+  output_is_enabled (true),
+  mpi_communicator (mpi_communicator)
 {}
 
 
@@ -314,12 +314,12 @@ TimerOutput::TimerOutput (MPI_Comm      mpi_communicator,
                           ConditionalOStream &stream,
                           const enum OutputFrequency output_frequency,
                           const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-output_type (output_type),
-out_stream (stream),
-output_is_enabled (true),
-mpi_communicator (mpi_communicator)
+  :
+  output_frequency (output_frequency),
+  output_type (output_type),
+  out_stream (stream),
+  output_is_enabled (true),
+  mpi_communicator (mpi_communicator)
 {}
 
 #endif
index 635dec16905953c635a9886b794fce567e117b94..f04ca39f85986d85602ee4d8ad41d2f9ffd9a8f8 100644 (file)
@@ -49,9 +49,9 @@ namespace TrilinosWrappers
 
   SolverBase::SolverBase (const enum SolverBase::SolverName  solver_name,
                           SolverControl                     &cn)
-  :
-  solver_name    (solver_name),
-                 solver_control (cn)
+    :
+    solver_name    (solver_name),
+    solver_control (cn)
   {}
 
 

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.