]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
cleanup: remove whitespace changes
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Dec 2012 01:26:34 +0000 (01:26 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Dec 2012 01:26:34 +0000 (01:26 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_merge_mg_into_dof_handler@27838 0785d39b-7218-0410-832d-ea1e28bc413d

19 files changed:
deal.II/examples/step-13/step-13.cc
deal.II/examples/step-14/step-14.cc
deal.II/examples/step-18/step-18.cc
deal.II/examples/step-20/step-20.cc
deal.II/examples/step-21/step-21.cc
deal.II/examples/step-22/step-22.cc
deal.II/examples/step-23/step-23.cc
deal.II/examples/step-28/step-28.cc
deal.II/examples/step-29/step-29.cc
deal.II/examples/step-31/step-31.cc
deal.II/examples/step-32/step-32.cc
deal.II/examples/step-33/step-33.cc
deal.II/examples/step-35/step-35.cc
deal.II/examples/step-37/step-37.cc
deal.II/examples/step-42/step-42.cc
deal.II/examples/step-43/step-43.cc
deal.II/examples/step-46/step-46.cc
deal.II/examples/step-47/step-47.cc
deal.II/examples/step-9/step-9.cc

index b180dc832547002dd249773488b8cad759b185d4..b85cb3d50a0a129499e1ee0b7ecda1e40aa29ea1 100644 (file)
@@ -116,7 +116,7 @@ namespace Step13
       void set_refinement_cycle (const unsigned int refinement_cycle);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const = 0;
+                                const Vector<double> &solution) const = 0;
     protected:
       unsigned int refinement_cycle;
     };
@@ -172,7 +172,7 @@ namespace Step13
                             TableHandler       &results_table);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double> &solution) const;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -203,7 +203,7 @@ namespace Step13
     void
     PointValueEvaluation<dim>::
     operator () (const DoFHandler<dim> &dof_handler,
-                 const Vector<double>  &solution) const
+                 const Vector<double> &solution) const
     {
       // First allocate a variable that will hold the point value. Initialize
       // it with a value that is clearly bogus, so that if we fail to set it
@@ -366,7 +366,7 @@ namespace Step13
                       const typename DataOut<dim>::OutputFormat  output_format);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double> &solution) const;
     private:
       const std::string                         output_name_base;
       const typename DataOut<dim>::OutputFormat output_format;
@@ -402,7 +402,7 @@ namespace Step13
     template <int dim>
     void
     SolutionOutput<dim>::operator () (const DoFHandler<dim> &dof_handler,
-                                      const Vector<double>  &solution) const
+                                      const Vector<double> &solution) const
     {
       DataOut<dim> data_out;
       data_out.attach_dof_handler (dof_handler);
index 3dc49df6928786b9d082f1d50fac157ffff7fe76..6242b228e3d37e5ac894894ec8f24c0c8a53be29 100644 (file)
@@ -71,7 +71,7 @@ namespace Step14
       void set_refinement_cycle (const unsigned int refinement_cycle);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const = 0;
+                                const Vector<double> &solution) const = 0;
     protected:
       unsigned int refinement_cycle;
     };
@@ -99,7 +99,7 @@ namespace Step14
       PointValueEvaluation (const Point<dim>   &evaluation_point);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double> &solution) const;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -123,7 +123,7 @@ namespace Step14
     void
     PointValueEvaluation<dim>::
     operator () (const DoFHandler<dim> &dof_handler,
-                 const Vector<double>  &solution) const
+                 const Vector<double> &solution) const
     {
       double point_value = 1e20;
 
@@ -173,7 +173,7 @@ namespace Step14
       PointXDerivativeEvaluation (const Point<dim>   &evaluation_point);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double> &solution) const;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -198,7 +198,7 @@ namespace Step14
     void
     PointXDerivativeEvaluation<dim>::
     operator () (const DoFHandler<dim> &dof_handler,
-                 const Vector<double>  &solution) const
+                 const Vector<double> &solution) const
     {
       // This time initialize the return value with something useful, since we
       // will have to add up a number of contributions and take the mean value
@@ -314,7 +314,7 @@ namespace Step14
       GridOutput (const std::string &output_name_base);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double> &solution) const;
     private:
       const std::string output_name_base;
     };
@@ -331,7 +331,7 @@ namespace Step14
     template <int dim>
     void
     GridOutput<dim>::operator () (const DoFHandler<dim> &dof_handler,
-                                  const Vector<double>  &/*solution*/) const
+                                  const Vector<double>  & /*solution*/) const
     {
       std::ostringstream filename;
       filename << output_name_base << "-"
index 6167d5b61c9ef05e517738e1278b844dc5acab88..8f5940cb2a135f267fce9e8454a8b9131b69b227 100644 (file)
@@ -591,7 +591,7 @@ namespace Step18
   template <int dim>
   inline
   void
-  BodyForce<dim>::vector_value (const Point<dim> &/*p*/,
+  BodyForce<dim>::vector_value (const Point<dim> & /*p*/,
                                 Vector<double>   &values) const
   {
     Assert (values.size() == dim,
@@ -689,7 +689,7 @@ namespace Step18
   template <int dim>
   void
   IncrementalBoundaryValues<dim>::
-  vector_value (const Point<dim> &/*p*/,
+  vector_value (const Point<dim> & /*p*/,
                 Vector<double>   &values) const
   {
     Assert (values.size() == dim,
index c7c9fca01042a6cd323455b85c437aef351d2cd7..49bb88bd09c133a432b1072ce7ba4e9f63bc010f 100644 (file)
@@ -154,7 +154,7 @@ namespace Step20
   // course. Given our discussion in the introduction of how the solution
   // should look like, the following computations should be straightforward:
   template <int dim>
-  double RightHandSide<dim>::value (const Point<dim>  &/*p*/,
+  double RightHandSide<dim>::value (const Point<dim>  & /*p*/,
                                     const unsigned int /*component*/) const
   {
     return 0;
@@ -163,7 +163,7 @@ namespace Step20
 
 
   template <int dim>
-  double PressureBoundaryValues<dim>::value (const Point<dim>  &p,
+  double PressureBoundaryValues<dim>::value (const Point<dim> &p,
                                              const unsigned int /*component*/) const
   {
     const double alpha = 0.3;
index ee13f3bcbfc35e3461afbd9dceb7e0400b1aa620..861cbbf64a9438f6977107ac88e7838ba0a225bb 100644 (file)
@@ -141,7 +141,7 @@ namespace Step21
 
   template <int dim>
   double
-  PressureRightHandSide<dim>::value (const Point<dim>  &/*p*/,
+  PressureRightHandSide<dim>::value (const Point<dim>  & /*p*/,
                                      const unsigned int /*component*/) const
   {
     return 0;
@@ -165,7 +165,7 @@ namespace Step21
 
   template <int dim>
   double
-  PressureBoundaryValues<dim>::value (const Point<dim>  &p,
+  PressureBoundaryValues<dim>::value (const Point<dim> &p,
                                       const unsigned int /*component*/) const
   {
     return 1-p[0];
@@ -234,7 +234,7 @@ namespace Step21
 
   template <int dim>
   double
-  InitialValues<dim>::value (const Point<dim>  &p,
+  InitialValues<dim>::value (const Point<dim> &p,
                              const unsigned int component) const
   {
     return ZeroFunction<dim>(dim+2).value (p, component);
index 3e8f8563b5c2d9d0b6f358e1e9a8f4a863f4c911..4aa49cfe072c7719e6f1aa781b45e2cdae558baa 100644 (file)
@@ -178,7 +178,7 @@ namespace Step22
 
   template <int dim>
   double
-  BoundaryValues<dim>::value (const Point<dim>  &p,
+  BoundaryValues<dim>::value (const Point<dim> &p,
                               const unsigned int component) const
   {
     Assert (component < this->n_components,
@@ -220,7 +220,7 @@ namespace Step22
 
   template <int dim>
   double
-  RightHandSide<dim>::value (const Point<dim>  &/*p*/,
+  RightHandSide<dim>::value (const Point<dim>  & /*p*/,
                              const unsigned int /*component*/) const
   {
     return 0;
index b8c35a0eb01130afad141a75ba063bf8757c2e3c..7c141921c73ee61f9d18c9637e22fdb27ff7c059 100644 (file)
@@ -174,7 +174,7 @@ namespace Step23
 
 
   template <int dim>
-  double InitialValuesU<dim>::value (const Point<dim>  &/*p*/,
+  double InitialValuesU<dim>::value (const Point<dim>  & /*p*/,
                                      const unsigned int component) const
   {
     Assert (component == 0, ExcInternalError());
@@ -184,7 +184,7 @@ namespace Step23
 
 
   template <int dim>
-  double InitialValuesV<dim>::value (const Point<dim>  &/*p*/,
+  double InitialValuesV<dim>::value (const Point<dim>  & /*p*/,
                                      const unsigned int component) const
   {
     Assert (component == 0, ExcInternalError());
@@ -208,7 +208,7 @@ namespace Step23
 
 
   template <int dim>
-  double RightHandSide<dim>::value (const Point<dim>  &/*p*/,
+  double RightHandSide<dim>::value (const Point<dim>  & /*p*/,
                                     const unsigned int component) const
   {
     Assert (component == 0, ExcInternalError());
index 049d63568e5c2789781e05f4a73425110413febe..dc4a31b38764ad9ca20814b667f87b37ce17fdbb 100644 (file)
@@ -1225,7 +1225,7 @@ namespace Step28
     // describing the material parameters for the number of energy groups
     // requested in the input file, and (iii) the finite element to be used by
     // all energy groups:
-    const Parameters  &parameters;
+    const Parameters &parameters;
     const MaterialData material_data;
     FE_Q<dim>          fe;
 
index b97a0558b7bcbf4125278640f1394f0294421846..253a0c92f6e8ad87dc65ab43a59d5c9d076a6995 100644 (file)
@@ -102,7 +102,7 @@ namespace Step29
 
   template <int dim>
   inline
-  void DirichletBoundaryValues<dim>::vector_value (const Point<dim> &/*p*/,
+  void DirichletBoundaryValues<dim>::vector_value (const Point<dim> & /*p*/,
                                                    Vector<double>   &values) const
   {
     Assert (values.size() == 2, ExcDimensionMismatch (values.size(), 2));
@@ -405,7 +405,7 @@ namespace Step29
   // system, which consists of two copies of the scalar Q1 field, one for $v$
   // and one for $w$:
   template <int dim>
-  UltrasoundProblem<dim>::UltrasoundProblem (ParameterHandler  &param)
+  UltrasoundProblem<dim>::UltrasoundProblem (ParameterHandler &param)
     :
     prm(param),
     dof_handler(triangulation),
index 7d9a55ac919fbe2f6aa0051c629e6b0c7e27c943..b04d24972637b3ca7352fdb193d57cfe5e5216ac 100644 (file)
@@ -164,7 +164,7 @@ namespace Step31
 
     template <int dim>
     double
-    TemperatureRightHandSide<dim>::value (const Point<dim>  &p,
+    TemperatureRightHandSide<dim>::value (const Point<dim> &p,
                                           const unsigned int component) const
     {
       Assert (component == 0,
@@ -384,7 +384,7 @@ namespace Step31
 
     template <class PreconditionerA, class PreconditionerMp>
     BlockSchurPreconditioner<PreconditionerA, PreconditionerMp>::
-    BlockSchurPreconditioner(const TrilinosWrappers::BlockSparseMatrix  &S,
+    BlockSchurPreconditioner(const TrilinosWrappers::BlockSparseMatrix &S,
                              const InverseMatrix<TrilinosWrappers::SparseMatrix,
                              PreconditionerMp>      &Mpinv,
                              const PreconditionerA                      &Apreconditioner)
@@ -472,12 +472,12 @@ namespace Step31
     double
     compute_viscosity(const std::vector<double>          &old_temperature,
                       const std::vector<double>          &old_old_temperature,
-                      const std::vector<Tensor<1,dim> >  &old_temperature_grads,
-                      const std::vector<Tensor<1,dim> >  &old_old_temperature_grads,
+                      const std::vector<Tensor<1,dim> > &old_temperature_grads,
+                      const std::vector<Tensor<1,dim> > &old_old_temperature_grads,
                       const std::vector<double>          &old_temperature_laplacians,
                       const std::vector<double>          &old_old_temperature_laplacians,
-                      const std::vector<Tensor<1,dim> >  &old_velocity_values,
-                      const std::vector<Tensor<1,dim> >  &old_old_velocity_values,
+                      const std::vector<Tensor<1,dim> > &old_velocity_values,
+                      const std::vector<Tensor<1,dim> > &old_old_velocity_values,
                       const std::vector<double>          &gamma_values,
                       const double                        global_u_infty,
                       const double                        global_T_variation,
@@ -768,12 +768,12 @@ namespace Step31
   BoussinesqFlowProblem<dim>::
   compute_viscosity (const std::vector<double>          &old_temperature,
                      const std::vector<double>          &old_old_temperature,
-                     const std::vector<Tensor<1,dim> >  &old_temperature_grads,
-                     const std::vector<Tensor<1,dim> >  &old_old_temperature_grads,
+                     const std::vector<Tensor<1,dim> > &old_temperature_grads,
+                     const std::vector<Tensor<1,dim> > &old_old_temperature_grads,
                      const std::vector<double>          &old_temperature_laplacians,
                      const std::vector<double>          &old_old_temperature_laplacians,
-                     const std::vector<Tensor<1,dim> >  &old_velocity_values,
-                     const std::vector<Tensor<1,dim> >  &old_old_velocity_values,
+                     const std::vector<Tensor<1,dim> > &old_velocity_values,
+                     const std::vector<Tensor<1,dim> > &old_old_velocity_values,
                      const std::vector<double>          &gamma_values,
                      const double                        global_u_infty,
                      const double                        global_T_variation,
index 1fd0dad8b576e58a33e6587c70c754649865304e..1d369237b11a800a7567270b0ae824e99702938d 100644 (file)
@@ -154,7 +154,7 @@ namespace Step32
 
     template <int dim>
     double
-    TemperatureInitialValues<dim>::value (const Point<dim>  &p,
+    TemperatureInitialValues<dim>::value (const Point<dim> &p,
                                           const unsigned int) const
     {
       const double r = p.norm();
@@ -224,8 +224,8 @@ namespace Step32
     class BlockSchurPreconditioner : public Subscriptor
     {
     public:
-      BlockSchurPreconditioner (const TrilinosWrappers::BlockSparseMatrix  &S,
-                                const TrilinosWrappers::BlockSparseMatrix  &Spre,
+      BlockSchurPreconditioner (const TrilinosWrappers::BlockSparseMatrix &S,
+                                const TrilinosWrappers::BlockSparseMatrix &Spre,
                                 const PreconditionerMp                     &Mppreconditioner,
                                 const PreconditionerA                      &Apreconditioner,
                                 const bool                                  do_solve_A)
@@ -275,7 +275,7 @@ namespace Step32
       const SmartPointer<const TrilinosWrappers::BlockSparseMatrix> stokes_matrix;
       const SmartPointer<const TrilinosWrappers::BlockSparseMatrix> stokes_preconditioner_matrix;
       const PreconditionerMp &mp_preconditioner;
-      const PreconditionerA  &a_preconditioner;
+      const PreconditionerA &a_preconditioner;
       const bool do_solve_A;
     };
   }
@@ -775,14 +775,14 @@ namespace Step32
     double
     compute_viscosity(const std::vector<double>          &old_temperature,
                       const std::vector<double>          &old_old_temperature,
-                      const std::vector<Tensor<1,dim> >  &old_temperature_grads,
-                      const std::vector<Tensor<1,dim> >  &old_old_temperature_grads,
+                      const std::vector<Tensor<1,dim> > &old_temperature_grads,
+                      const std::vector<Tensor<1,dim> > &old_old_temperature_grads,
                       const std::vector<double>          &old_temperature_laplacians,
                       const std::vector<double>          &old_old_temperature_laplacians,
-                      const std::vector<Tensor<1,dim> >  &old_velocity_values,
-                      const std::vector<Tensor<1,dim> >  &old_old_velocity_values,
-                      const std::vector<SymmetricTensor<2,dim> >  &old_strain_rates,
-                      const std::vector<SymmetricTensor<2,dim> >  &old_old_strain_rates,
+                      const std::vector<Tensor<1,dim> > &old_velocity_values,
+                      const std::vector<Tensor<1,dim> > &old_old_velocity_values,
+                      const std::vector<SymmetricTensor<2,dim> > &old_strain_rates,
+                      const std::vector<SymmetricTensor<2,dim> > &old_old_strain_rates,
                       const double                        global_u_infty,
                       const double                        global_T_variation,
                       const double                        average_temperature,
@@ -951,7 +951,7 @@ namespace Step32
 
     void
     local_assemble_stokes_system (const typename DoFHandler<dim>::active_cell_iterator &cell,
-                                  Assembly::Scratch::StokesSystem<dim>  &scratch,
+                                  Assembly::Scratch::StokesSystem<dim> &scratch,
                                   Assembly::CopyData::StokesSystem<dim> &data);
 
     void
@@ -960,7 +960,7 @@ namespace Step32
 
     void
     local_assemble_temperature_matrix (const typename DoFHandler<dim>::active_cell_iterator &cell,
-                                       Assembly::Scratch::TemperatureMatrix<dim>  &scratch,
+                                       Assembly::Scratch::TemperatureMatrix<dim> &scratch,
                                        Assembly::CopyData::TemperatureMatrix<dim> &data);
 
     void
@@ -1552,14 +1552,14 @@ namespace Step32
   BoussinesqFlowProblem<dim>::
   compute_viscosity (const std::vector<double>          &old_temperature,
                      const std::vector<double>          &old_old_temperature,
-                     const std::vector<Tensor<1,dim> >  &old_temperature_grads,
-                     const std::vector<Tensor<1,dim> >  &old_old_temperature_grads,
+                     const std::vector<Tensor<1,dim> > &old_temperature_grads,
+                     const std::vector<Tensor<1,dim> > &old_old_temperature_grads,
                      const std::vector<double>          &old_temperature_laplacians,
                      const std::vector<double>          &old_old_temperature_laplacians,
-                     const std::vector<Tensor<1,dim> >  &old_velocity_values,
-                     const std::vector<Tensor<1,dim> >  &old_old_velocity_values,
-                     const std::vector<SymmetricTensor<2,dim> >  &old_strain_rates,
-                     const std::vector<SymmetricTensor<2,dim> >  &old_old_strain_rates,
+                     const std::vector<Tensor<1,dim> > &old_velocity_values,
+                     const std::vector<Tensor<1,dim> > &old_old_velocity_values,
+                     const std::vector<SymmetricTensor<2,dim> > &old_strain_rates,
+                     const std::vector<SymmetricTensor<2,dim> > &old_old_strain_rates,
                      const double                        global_u_infty,
                      const double                        global_T_variation,
                      const double                        average_temperature,
@@ -3180,9 +3180,9 @@ namespace Step32
   BoussinesqFlowProblem<dim>::Postprocessor::
   compute_derived_quantities_vector (const std::vector<Vector<double> >              &uh,
                                      const std::vector<std::vector<Tensor<1,dim> > > &duh,
-                                     const std::vector<std::vector<Tensor<2,dim> > > &/*dduh*/,
-                                     const std::vector<Point<dim> >                  &/*normals*/,
-                                     const std::vector<Point<dim> >                  &/*evaluation_points*/,
+                                     const std::vector<std::vector<Tensor<2,dim> > > & /*dduh*/,
+                                     const std::vector<Point<dim> >                  & /*normals*/,
+                                     const std::vector<Point<dim> >                  & /*evaluation_points*/,
                                      std::vector<Vector<double> >                    &computed_quantities) const
   {
     const unsigned int n_quadrature_points = uh.size();
index 6b4b5cd4182c1111ff4aa84c2069ce95e16d8592..77199f884b12b95241ce7375272948d24bea0546 100644 (file)
@@ -462,7 +462,7 @@ namespace Step33
     void
     compute_refinement_indicators (const DoFHandler<dim> &dof_handler,
                                    const Mapping<dim>    &mapping,
-                                   const Vector<double>  &solution,
+                                   const Vector<double> &solution,
                                    Vector<double>        &refinement_indicators)
     {
       const unsigned int dofs_per_cell = dof_handler.get_fe().dofs_per_cell;
@@ -587,9 +587,9 @@ namespace Step33
   EulerEquations<dim>::Postprocessor::
   compute_derived_quantities_vector (const std::vector<Vector<double> >              &uh,
                                      const std::vector<std::vector<Tensor<1,dim> > > &duh,
-                                     const std::vector<std::vector<Tensor<2,dim> > > &/*dduh*/,
-                                     const std::vector<Point<dim> >                  &/*normals*/,
-                                     const std::vector<Point<dim> >                  &/*evaluation_points*/,
+                                     const std::vector<std::vector<Tensor<2,dim> > > & /*dduh*/,
+                                     const std::vector<Point<dim> >                  & /*normals*/,
+                                     const std::vector<Point<dim> >                  & /*evaluation_points*/,
                                      std::vector<Vector<double> >                    &computed_quantities) const
   {
     // At the beginning of the function, let us make sure that all variables
index 44bd63c0ad0470f4c512992e0550c81bdc0aa360..b618ff35b9272ea2286d82975b50bd8a54f4223a 100644 (file)
@@ -559,7 +559,7 @@ namespace Step35
       {}
     };
 
-    void assemble_one_cell_of_gradient (const IteratorPair  &SI,
+    void assemble_one_cell_of_gradient (const IteratorPair &SI,
                                         InitGradScratchData &scratch,
                                         InitGradPerTaskData &data);
 
@@ -879,7 +879,7 @@ namespace Step35
   template <int dim>
   void
   NavierStokesProjection<dim>::
-  assemble_one_cell_of_gradient (const IteratorPair  &SI,
+  assemble_one_cell_of_gradient (const IteratorPair &SI,
                                  InitGradScratchData &scratch,
                                  InitGradPerTaskData &data)
   {
index 0da8d2474f7932c65430e9c0597ff49701d35e21..71655eae6f4d9e7f390a97c070bdec75a4a30c6c 100644 (file)
@@ -171,7 +171,7 @@ namespace Step37
 
 
   template <int dim>
-  double Coefficient<dim>::value (const Point<dim>  &p,
+  double Coefficient<dim>::value (const Point<dim> &p,
                                   const unsigned int component) const
   {
     return value<double>(p,component);
@@ -274,7 +274,7 @@ namespace Step37
     void clear();
 
     void reinit (const MGDoFHandler<dim> &dof_handler,
-                 const ConstraintMatrix  &constraints,
+                 const ConstraintMatrix &constraints,
                  const unsigned int       level = numbers::invalid_unsigned_int);
 
     unsigned int m () const;
@@ -399,7 +399,7 @@ namespace Step37
   template <int dim, int fe_degree, typename number>
   void
   LaplaceOperator<dim,fe_degree,number>::reinit (const MGDoFHandler<dim> &dof_handler,
-                                                 const ConstraintMatrix  &constraints,
+                                                 const ConstraintMatrix &constraints,
                                                  const unsigned int      level)
   {
     typename MatrixFree<dim,number>::AdditionalData additional_data;
index a87c2796bd0e14edfbf15480739978ec433d729c..511094c4dbdf12a4ee1052e5f622a8b199dc0b95 100644 (file)
@@ -170,14 +170,14 @@ namespace Step42
                      MPI_Comm _mpi_communicator,
                      ConditionalOStream _pcout);
 
-    void plast_linear_hardening (SymmetricTensor<4,dim>  &stress_strain_tensor,
-                                 SymmetricTensor<2,dim>  &strain_tensor,
+    void plast_linear_hardening (SymmetricTensor<4,dim> &stress_strain_tensor,
+                                 SymmetricTensor<2,dim> &strain_tensor,
                                  unsigned int            &elast_points,
                                  unsigned int            &plast_points,
                                  double                  &yield);
-    void linearized_plast_linear_hardening (SymmetricTensor<4,dim>  &stress_strain_tensor_linearized,
-                                            SymmetricTensor<4,dim>  &stress_strain_tensor,
-                                            SymmetricTensor<2,dim>  &strain_tensor);
+    void linearized_plast_linear_hardening (SymmetricTensor<4,dim> &stress_strain_tensor_linearized,
+                                            SymmetricTensor<4,dim> &stress_strain_tensor,
+                                            SymmetricTensor<2,dim> &strain_tensor);
     inline SymmetricTensor<2,dim> get_strain (const FEValues<dim> &fe_values,
                                               const unsigned int  shape_func,
                                               const unsigned int  q_point) const;
@@ -226,8 +226,8 @@ namespace Step42
   }
 
   template <int dim>
-  void ConstitutiveLaw<dim>::plast_linear_hardening (SymmetricTensor<4,dim>  &stress_strain_tensor,
-                                                     SymmetricTensor<2,dim>  &strain_tensor,
+  void ConstitutiveLaw<dim>::plast_linear_hardening (SymmetricTensor<4,dim> &stress_strain_tensor,
+                                                     SymmetricTensor<2,dim> &strain_tensor,
                                                      unsigned int            &elast_points,
                                                      unsigned int            &plast_points,
                                                      double                  &yield)
@@ -260,9 +260,9 @@ namespace Step42
   }
 
   template <int dim>
-  void ConstitutiveLaw<dim>::linearized_plast_linear_hardening (SymmetricTensor<4,dim>  &stress_strain_tensor_linearized,
-      SymmetricTensor<4,dim>  &stress_strain_tensor,
-      SymmetricTensor<2,dim>  &strain_tensor)
+  void ConstitutiveLaw<dim>::linearized_plast_linear_hardening (SymmetricTensor<4,dim> &stress_strain_tensor_linearized,
+      SymmetricTensor<4,dim> &stress_strain_tensor,
+      SymmetricTensor<2,dim> &strain_tensor)
   {
     if (dim == 3)
       {
index 4086020fd7a8b630c2d64346314263b85e62e5ec..ba2d96b1bc318bfda8fb8447cf8c88bfe733f875 100644 (file)
@@ -87,7 +87,7 @@ namespace Step43
 
   template <int dim>
   double
-  PressureRightHandSide<dim>::value (const Point<dim>  &/*p*/,
+  PressureRightHandSide<dim>::value (const Point<dim>  & /*p*/,
                                      const unsigned int /*component*/) const
   {
     return 0;
@@ -107,7 +107,7 @@ namespace Step43
 
   template <int dim>
   double
-  PressureBoundaryValues<dim>::value (const Point<dim>  &p,
+  PressureBoundaryValues<dim>::value (const Point<dim> &p,
                                       const unsigned int /*component*/) const
   {
     return 1-p[0];
@@ -154,7 +154,7 @@ namespace Step43
 
   template <int dim>
   double
-  SaturationInitialValues<dim>::value (const Point<dim>  &/*p*/,
+  SaturationInitialValues<dim>::value (const Point<dim>  & /*p*/,
                                        const unsigned int /*component*/) const
   {
     return 0.2;
@@ -428,7 +428,7 @@ namespace Step43
 
     template <class PreconditionerA, class PreconditionerMp>
     BlockSchurPreconditioner<PreconditionerA, PreconditionerMp>::
-    BlockSchurPreconditioner(const TrilinosWrappers::BlockSparseMatrix  &S,
+    BlockSchurPreconditioner(const TrilinosWrappers::BlockSparseMatrix &S,
                              const InverseMatrix<TrilinosWrappers::SparseMatrix,
                              PreconditionerMp>      &Mpinv,
                              const PreconditionerA                      &Apreconditioner)
@@ -517,8 +517,8 @@ namespace Step43
     void                     project_back_saturation ();
     double                   compute_viscosity (const std::vector<double>          &old_saturation,
                                                 const std::vector<double>          &old_old_saturation,
-                                                const std::vector<Tensor<1,dim> >  &old_saturation_grads,
-                                                const std::vector<Tensor<1,dim> >  &old_old_saturation_grads,
+                                                const std::vector<Tensor<1,dim> > &old_saturation_grads,
+                                                const std::vector<Tensor<1,dim> > &old_old_saturation_grads,
                                                 const std::vector<Vector<double> > &present_darcy_values,
                                                 const double                        global_max_u_F_prime,
                                                 const double                        global_S_variation,
@@ -2092,8 +2092,8 @@ namespace Step43
   TwoPhaseFlowProblem<dim>::
   compute_viscosity (const std::vector<double>          &old_saturation,
                      const std::vector<double>          &old_old_saturation,
-                     const std::vector<Tensor<1,dim> >  &old_saturation_grads,
-                     const std::vector<Tensor<1,dim> >  &old_old_saturation_grads,
+                     const std::vector<Tensor<1,dim> > &old_saturation_grads,
+                     const std::vector<Tensor<1,dim> > &old_old_saturation_grads,
                      const std::vector<Vector<double> > &present_darcy_values,
                      const double                        global_max_u_F_prime,
                      const double                        global_S_variation,
index ffd556b8f5b67f4cd79d66b3c07819cb91ddd737..a3bd49cc215a1e520bf1737e8c416ab9f00f4ce4 100644 (file)
@@ -163,7 +163,7 @@ namespace Step46
 
   template <int dim>
   double
-  StokesBoundaryValues<dim>::value (const Point<dim>  &p,
+  StokesBoundaryValues<dim>::value (const Point<dim> &p,
                                     const unsigned int component) const
   {
     Assert (component < this->n_components,
@@ -212,7 +212,7 @@ namespace Step46
 
   template <int dim>
   double
-  RightHandSide<dim>::value (const Point<dim>  &/*p*/,
+  RightHandSide<dim>::value (const Point<dim>  & /*p*/,
                              const unsigned int /*component*/) const
   {
     return 0;
index d5ad9ba00e8d707bfc824c36e5c33f280908434b..a760e7e4d4004e35fc6d3eac533b7917e2809425 100644 (file)
@@ -947,9 +947,9 @@ namespace Step47
   void
   Postprocessor<dim>::
   compute_derived_quantities_vector (const std::vector<Vector<double> >              &uh,
-                                     const std::vector<std::vector<Tensor<1,dim> > > &/*duh*/,
-                                     const std::vector<std::vector<Tensor<2,dim> > > &/*dduh*/,
-                                     const std::vector<Point<dim> >                  &/*normals*/,
+                                     const std::vector<std::vector<Tensor<1,dim> > > & /*duh*/,
+                                     const std::vector<std::vector<Tensor<2,dim> > > & /*dduh*/,
+                                     const std::vector<Point<dim> >                  & /*normals*/,
                                      const std::vector<Point<dim> >                  &evaluation_points,
                                      std::vector<Vector<double> >                    &computed_quantities) const
   {
index 25b77c3c2b1b7d05c15205df46e4f830dcd65080..34c1acbb41aeef387753bb3180df14ba4011ceda 100644 (file)
@@ -423,7 +423,7 @@ namespace Step9
   public:
     template <int dim>
     static void estimate (const DoFHandler<dim> &dof,
-                          const Vector<double>  &solution,
+                          const Vector<double> &solution,
                           Vector<float>         &error_per_cell);
 
     DeclException2 (ExcInvalidVectorLength,
@@ -437,7 +437,7 @@ namespace Step9
 
     template <int dim>
     static void estimate_interval (const DoFHandler<dim> &dof,
-                                   const Vector<double>  &solution,
+                                   const Vector<double> &solution,
                                    const IndexInterval   &index_interval,
                                    Vector<float>         &error_per_cell);
   };
@@ -976,7 +976,7 @@ namespace Step9
   template <int dim>
   void
   GradientEstimation::estimate (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution,
+                                const Vector<double> &solution,
                                 Vector<float>         &error_per_cell)
   {
     // Before starting with the work, we check that the vector into which the
@@ -1054,7 +1054,7 @@ namespace Step9
   template <int dim>
   void
   GradientEstimation::estimate_interval (const DoFHandler<dim> &dof_handler,
-                                         const Vector<double>  &solution,
+                                         const Vector<double> &solution,
                                          const IndexInterval   &index_interval,
                                          Vector<float>         &error_per_cell)
   {

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.