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

21 files changed:
deal.II/include/deal.II/fe/fe_nothing.h
deal.II/include/deal.II/fe/fe_poly_tensor.h
deal.II/include/deal.II/fe/fe_system.h
deal.II/include/deal.II/fe/fe_tools.h
deal.II/include/deal.II/fe/mapping_q1_eulerian.h
deal.II/include/deal.II/fe/mapping_q_eulerian.h
deal.II/include/deal.II/lac/block_sparse_matrix.h
deal.II/include/deal.II/lac/chunk_sparse_matrix.h
deal.II/include/deal.II/lac/chunk_sparse_matrix.templates.h
deal.II/include/deal.II/lac/constraint_matrix.h
deal.II/include/deal.II/lac/constraint_matrix.templates.h
deal.II/include/deal.II/lac/petsc_matrix_base.h
deal.II/include/deal.II/lac/petsc_matrix_free.h
deal.II/include/deal.II/lac/petsc_parallel_block_vector.h
deal.II/include/deal.II/lac/petsc_solver.h
deal.II/include/deal.II/lac/petsc_vector_base.h
deal.II/include/deal.II/lac/sparse_matrix.templates.h
deal.II/include/deal.II/lac/trilinos_block_vector.h
deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h
deal.II/include/deal.II/lac/trilinos_solver.h
deal.II/include/deal.II/lac/vector.templates.h

index 9ed2d3ca9f568215fe6c7488ae2fd80a172107a0..e4cfcea54396b2423bfce8b37e7e161bf8fd7516 100644 (file)
@@ -339,7 +339,7 @@ public:
   void
   get_subface_interpolation_matrix (const FiniteElement<dim> &source_fe,
                                     const unsigned int index,
-                                    FullMatrix<double>  &interpolation_matrix) const;
+                                    FullMatrix<double> &interpolation_matrix) const;
 
 
 };
index a1f54983305b9d065a48357addf446bf2097cf7d..5650e3365c37395e8e3efeb015064a03b4773251 100644 (file)
@@ -206,8 +206,8 @@ protected:
   fill_fe_values (const Mapping<dim,spacedim>                       &mapping,
                   const typename Triangulation<dim,spacedim>::cell_iterator &cell,
                   const Quadrature<dim>                             &quadrature,
-                  typename Mapping<dim,spacedim>::InternalDataBase  &mapping_internal,
-                  typename Mapping<dim,spacedim>::InternalDataBase  &fe_internal,
+                  typename Mapping<dim,spacedim>::InternalDataBase &mapping_internal,
+                  typename Mapping<dim,spacedim>::InternalDataBase &fe_internal,
                   FEValuesData<dim,spacedim>                        &data,
                   CellSimilarity::Similarity                   &cell_similarity) const;
 
index c6c85789853a141062ecdb6f168a0cb657feabdc..d80aa71848c4e1289b6547765692ab695684def1 100644 (file)
@@ -806,8 +806,8 @@ private:
    * copies around will then delete the pointer to the base elements.
    */
   std::vector<std::pair<std_cxx1x::shared_ptr<const FiniteElement<dim,spacedim> >,
-      unsigned int> >
-      base_elements;
+                       unsigned int> >
+  base_elements;
 
 
   /**
index 9c3e3a7af12fa175980b53ee4462368419c37a1f..91566ae1b155fbcdfd25fddb13c9f098480cb933 100644 (file)
@@ -205,7 +205,7 @@ namespace FETools
    */
   template<int dim, int spacedim>
   void compute_block_renumbering (
-    const FiniteElement<dim,spacedim>  &fe,
+    const FiniteElement<dim,spacedim> &fe,
     std::vector<unsigned int> &renumbering,
     std::vector<unsigned int> &block_data,
     bool return_start_indices = true);
@@ -873,9 +873,9 @@ namespace FETools
            template <int, int> class DH1,
            template <int, int> class DH2,
            class InVector, class OutVector>
-  void interpolate (const DH1<dim,spacedim>  &dof1,
+  void interpolate (const DH1<dim,spacedim> &dof1,
                     const InVector           &u1,
-                    const DH2<dim,spacedim>  &dof2,
+                    const DH2<dim,spacedim> &dof2,
                     const ConstraintMatrix   &constraints,
                     OutVector                &u2);
 
@@ -953,10 +953,10 @@ namespace FETools
    * mapping.
    */
   template <int dim, class InVector, class OutVector, int spacedim>
-  void back_interpolate (const DoFHandler<dim,spacedim>  &dof1,
+  void back_interpolate (const DoFHandler<dim,spacedim> &dof1,
                          const ConstraintMatrix &constraints1,
                          const InVector         &u1,
-                         const DoFHandler<dim,spacedim>  &dof2,
+                         const DoFHandler<dim,spacedim> &dof2,
                          const ConstraintMatrix &constraints2,
                          OutVector              &u1_interpolated);
 
@@ -1000,10 +1000,10 @@ namespace FETools
    * are involved.
    */
   template <int dim, class InVector, class OutVector, int spacedim>
-  void interpolation_difference(const DoFHandler<dim,spacedim>  &dof1,
+  void interpolation_difference(const DoFHandler<dim,spacedim> &dof1,
                                 const ConstraintMatrix &constraints1,
                                 const InVector         &z1,
-                                const DoFHandler<dim,spacedim>  &dof2,
+                                const DoFHandler<dim,spacedim> &dof2,
                                 const ConstraintMatrix &constraints2,
                                 OutVector              &z1_difference);
 
@@ -1091,9 +1091,9 @@ namespace FETools
    * function.
    */
   template <int dim, class InVector, class OutVector, int spacedim>
-  void extrapolate (const DoFHandler<dim,spacedim>  &dof1,
+  void extrapolate (const DoFHandler<dim,spacedim> &dof1,
                     const InVector         &z1,
-                    const DoFHandler<dim,spacedim>  &dof2,
+                    const DoFHandler<dim,spacedim> &dof2,
                     const ConstraintMatrix &constraints,
                     OutVector              &z2);
   //@}
index f07ab09d421cbbc13379703985189a385318057d..661abf6d2b01e3bf0a5c809cf19aabc6acad842d 100644 (file)
@@ -109,7 +109,7 @@ public:
    * can be initialized by
    * <tt>DoFAccessor::set_dof_values()</tt>.
    */
-  MappingQ1Eulerian (const VECTOR  &euler_transform_vectors,
+  MappingQ1Eulerian (const VECTOR &euler_transform_vectors,
                      const DoFHandler<dim,spacedim> &shiftmap_dof_handler);
 
   /**
index 54177ab37b006fd9ee7ac086756604a2dd9ae7c5..df7b0946835d25ea07750d5e0283d5d9733ee9ec 100644 (file)
@@ -113,8 +113,8 @@ public:
    */
 
   MappingQEulerian (const unsigned int     degree,
-                    const VECTOR  &euler_vector,
-                    const DoFHandler<dim,spacedim>  &euler_dof_handler);
+                    const VECTOR &euler_vector,
+                    const DoFHandler<dim,spacedim> &euler_dof_handler);
 
   /**
    * Return a pointer to a copy of the
index 5bc235ae13fd082f170663ff0a2623fbebfa37c8..32abdf96741de195e45fa58707d1c3829860312c 100644 (file)
@@ -318,7 +318,7 @@ public:
    */
   template <typename block_number,
            typename nonblock_number>
-  void Tvmult (BlockVector<block_number>  &dst,
+  void Tvmult (BlockVector<block_number> &dst,
                const Vector<nonblock_number> &src) const;
 
   /**
index 07e4d03fac28ff9b551471aedc111807a27f55c6..59cdb14d5bb6cf55a603da22a757a4b107d70e6d 100644 (file)
@@ -172,7 +172,7 @@ public:
    * diagonal.
    */
   ChunkSparseMatrix (const ChunkSparsityPattern &sparsity,
-                     const IdentityMatrix  &id);
+                     const IdentityMatrix &id);
 
   /**
    * Destructor. Free all memory, but do not
@@ -215,7 +215,7 @@ public:
    * diagonal.
    */
   ChunkSparseMatrix<number> &
-  operator= (const IdentityMatrix  &id);
+  operator= (const IdentityMatrix &id);
 
   /**
    * This operator assigns a scalar to
index 6c993b0e19a01edcf8741b4646f246336b250b57..f176c7827e85fd14d853c0c492dffecf6b835f42 100644 (file)
@@ -229,7 +229,7 @@ ChunkSparseMatrix<number>::ChunkSparseMatrix (const ChunkSparsityPattern &c)
 
 template <typename number>
 ChunkSparseMatrix<number>::ChunkSparseMatrix (const ChunkSparsityPattern &c,
-                                              const IdentityMatrix  &id)
+                                              const IdentityMatrix &id)
   :
   cols(0, "ChunkSparseMatrix"),
   val(0),
@@ -282,7 +282,7 @@ ChunkSparseMatrix<number>::operator = (const double d)
 
 template <typename number>
 ChunkSparseMatrix<number> &
-ChunkSparseMatrix<number>::operator= (const IdentityMatrix  &id)
+ChunkSparseMatrix<number>::operator= (const IdentityMatrix &id)
 {
   Assert (cols->n_rows() == id.m(),
           ExcDimensionMismatch (cols->n_rows(), id.m()));
index 87a4c3c42db320d2753a688809c44beddfc4b984..103433b06882a7763041965919c2fda4bf91e86f 100644 (file)
@@ -1363,7 +1363,7 @@ public:
   template <typename ForwardIteratorVec, typename ForwardIteratorInd,
            class VectorType>
   void
-  get_dof_values (const VectorType  &global_vector,
+  get_dof_values (const VectorType &global_vector,
                   ForwardIteratorInd local_indices_begin,
                   ForwardIteratorVec local_vector_begin,
                   ForwardIteratorVec local_vector_end) const;
@@ -1755,7 +1755,7 @@ private:
    */
   void
   make_sorted_row_list (const std::vector<unsigned int> &local_dof_indices,
-                        internals::GlobalRowsFromLocal  &global_rows) const;
+                        internals::GlobalRowsFromLocal &global_rows) const;
 
   /**
    * Internal helper function for
@@ -2069,7 +2069,7 @@ ConstraintMatrix::distribute_local_to_global (
 template <typename ForwardIteratorVec, typename ForwardIteratorInd,
          class VectorType>
 inline
-void ConstraintMatrix::get_dof_values (const VectorType  &global_vector,
+void ConstraintMatrix::get_dof_values (const VectorType &global_vector,
                                        ForwardIteratorInd local_indices_begin,
                                        ForwardIteratorVec local_vector_begin,
                                        ForwardIteratorVec local_vector_end) const
index 63cc9af858139b2b79535e24b2fa8bea4fe55dff..8d7f1b552a77af9e01e6571dd1fdbd974de96305 100644 (file)
@@ -1649,8 +1649,8 @@ namespace internals
                       const unsigned int        column_start,
                       const unsigned int        column_end,
                       const FullMatrix<double> &local_matrix,
-                      unsigned int *&col_ptr,
-                      number *&val_ptr)
+                      unsigned int         *&col_ptr,
+                      number             *&val_ptr)
   {
     if (column_end == column_start)
       return;
@@ -2103,7 +2103,7 @@ add_this_index:
 void
 ConstraintMatrix::
 make_sorted_row_list (const std::vector<unsigned int> &local_dof_indices,
-                      internals::GlobalRowsFromLocal  &global_rows) const
+                      internals::GlobalRowsFromLocal &global_rows) const
 {
   const unsigned int n_local_dofs = local_dof_indices.size();
   AssertDimension (n_local_dofs, global_rows.size());
index 634ac7baf0ec7cff9c1fb55ffc7111f2a2f8f9eb..a4bfe4d4c5d98de402cbcf55f33411ed1b0221aa 100644 (file)
@@ -433,7 +433,7 @@ namespace PETScWrappers
      */
     void set (const unsigned int               row,
               const std::vector<unsigned int> &col_indices,
-              const std::vector<PetscScalar>  &values,
+              const std::vector<PetscScalar> &values,
               const bool                       elide_zero_values = false);
 
     /**
@@ -465,7 +465,7 @@ namespace PETScWrappers
     void set (const unsigned int  row,
               const unsigned int  n_cols,
               const unsigned int *col_indices,
-              const PetscScalar  *values,
+              const PetscScalar *values,
               const bool          elide_zero_values = false);
 
     /**
@@ -569,7 +569,7 @@ namespace PETScWrappers
      */
     void add (const unsigned int               row,
               const std::vector<unsigned int> &col_indices,
-              const std::vector<PetscScalar>  &values,
+              const std::vector<PetscScalar> &values,
               const bool                       elide_zero_values = true);
 
     /**
@@ -602,7 +602,7 @@ namespace PETScWrappers
     void add (const unsigned int  row,
               const unsigned int  n_cols,
               const unsigned int *col_indices,
-              const PetscScalar  *values,
+              const PetscScalar *values,
               const bool          elide_zero_values = true,
               const bool          col_indices_are_sorted = false);
 
@@ -1511,7 +1511,7 @@ namespace PETScWrappers
   void
   MatrixBase::set (const unsigned int               row,
                    const std::vector<unsigned int> &col_indices,
-                   const std::vector<PetscScalar>  &values,
+                   const std::vector<PetscScalar> &values,
                    const bool                       elide_zero_values)
   {
     Assert (col_indices.size() == values.size(),
@@ -1528,7 +1528,7 @@ namespace PETScWrappers
   MatrixBase::set (const unsigned int  row,
                    const unsigned int  n_cols,
                    const unsigned int *col_indices,
-                   const PetscScalar  *values,
+                   const PetscScalar *values,
                    const bool          elide_zero_values)
   {
     prepare_action(LastAction::insert);
@@ -1660,7 +1660,7 @@ namespace PETScWrappers
   void
   MatrixBase::add (const unsigned int               row,
                    const std::vector<unsigned int> &col_indices,
-                   const std::vector<PetscScalar>  &values,
+                   const std::vector<PetscScalar> &values,
                    const bool                       elide_zero_values)
   {
     Assert (col_indices.size() == values.size(),
@@ -1677,7 +1677,7 @@ namespace PETScWrappers
   MatrixBase::add (const unsigned int  row,
                    const unsigned int  n_cols,
                    const unsigned int *col_indices,
-                   const PetscScalar  *values,
+                   const PetscScalar *values,
                    const bool          elide_zero_values,
                    const bool          /*col_indices_are_sorted*/)
   {
index 2eec3536b772e9d18cbb12a3f6c751242b48d56e..8c99333fa19810373ca6475d4de67ecda86189c4 100644 (file)
@@ -310,7 +310,7 @@ namespace PETScWrappers
      * in derived classes.
      */
     virtual
-    void vmult (Vec  &dst, const Vec  &src) const;
+    void vmult (Vec &dst, const Vec &src) const;
 
   private:
 
index 050e5ea43c4891e2f52bb9e87207ed9584aa722f..e17ce5b48479965076524ef38b0f71f3a07c84cd 100644 (file)
@@ -108,7 +108,7 @@ namespace PETScWrappers
        * to those of the given argument and
        * copy the elements.
        */
-      BlockVector (const BlockVector  &V);
+      BlockVector (const BlockVector &V);
 
       /**
        * Constructor. Set the number of
index f2806970f398d2374a0e46b43bbd7d3f76a2776e..ae38d634f0ac83cc9c0853e226a5936c0c607447 100644 (file)
@@ -111,7 +111,7 @@ namespace PETScWrappers
      * see the documentation of the
      * SolverBase class.
      */
-    SolverBase (SolverControl  &cn,
+    SolverBase (SolverControl &cn,
                 const MPI_Comm &mpi_communicator);
 
     /**
index 25c36dc628735cd0f36a086c9d05e6de0dfbea4c..eb265a8648547bbae69a82f9deda58936f0ac421 100644 (file)
@@ -83,7 +83,7 @@ namespace PETScWrappers
        * as to only allow the actual vector
        * class to create it.
        */
-      VectorReference (const VectorBase  &vector,
+      VectorReference (const VectorBase &vector,
                        const unsigned int index);
 
     public:
@@ -438,7 +438,7 @@ namespace PETScWrappers
      * second.
      */
     void set (const std::vector<unsigned int> &indices,
-              const std::vector<PetscScalar>  &values);
+              const std::vector<PetscScalar> &values);
 
     /**
      * A collective add operation: This
@@ -447,7 +447,7 @@ namespace PETScWrappers
      * components specified by @p indices.
      */
     void add (const std::vector<unsigned int> &indices,
-              const std::vector<PetscScalar>  &values);
+              const std::vector<PetscScalar> &values);
 
     /**
      * This is a second collective
@@ -470,7 +470,7 @@ namespace PETScWrappers
      */
     void add (const unsigned int  n_elements,
               const unsigned int *indices,
-              const PetscScalar  *values);
+              const PetscScalar *values);
 
     /**
      * Return the scalar product of two
@@ -858,7 +858,7 @@ namespace PETScWrappers
      */
     void do_set_add_operation (const unsigned int  n_elements,
                                const unsigned int *indices,
-                               const PetscScalar  *values,
+                               const PetscScalar *values,
                                const bool add_values);
 
 
@@ -886,7 +886,7 @@ namespace PETScWrappers
   namespace internal
   {
     inline
-    VectorReference::VectorReference (const VectorBase  &vector,
+    VectorReference::VectorReference (const VectorBase &vector,
                                       const unsigned int index)
       :
       vector (vector),
index 767984fea239cada1e1953b2558fccd56329e469..f032403de4da6c8164f6304af3c1db0038f13f2d 100644 (file)
@@ -92,7 +92,7 @@ SparseMatrix<number>::SparseMatrix (const SparsityPattern &c)
 
 template <typename number>
 SparseMatrix<number>::SparseMatrix (const SparsityPattern &c,
-                                    const IdentityMatrix  &id)
+                                    const IdentityMatrix &id)
   :
   cols(0, "SparseMatrix"),
   val(0),
@@ -177,7 +177,7 @@ SparseMatrix<number>::operator = (const double d)
 
 template <typename number>
 SparseMatrix<number> &
-SparseMatrix<number>::operator= (const IdentityMatrix  &id)
+SparseMatrix<number>::operator= (const IdentityMatrix &id)
 {
   Assert (cols->n_rows() == id.m(),
           ExcDimensionMismatch (cols->n_rows(), id.m()));
@@ -393,7 +393,7 @@ namespace internal
     void vmult_on_subrange (const unsigned int  begin_row,
                             const unsigned int  end_row,
                             const number       *values,
-                            const std::size_t  *rowstart,
+                            const std::size_t *rowstart,
                             const unsigned int *colnums,
                             const InVector     &src,
                             OutVector          &dst,
@@ -778,7 +778,7 @@ namespace internal
     number matrix_norm_sqr_on_subrange (const unsigned int  begin_row,
                                         const unsigned int  end_row,
                                         const number       *values,
-                                        const std::size_t  *rowstart,
+                                        const std::size_t *rowstart,
                                         const unsigned int *colnums,
                                         const InVector     &v)
     {
@@ -841,7 +841,7 @@ namespace internal
     number matrix_scalar_product_on_subrange (const unsigned int  begin_row,
                                               const unsigned int  end_row,
                                               const number       *values,
-                                              const std::size_t  *rowstart,
+                                              const std::size_t *rowstart,
                                               const unsigned int *colnums,
                                               const InVector     &u,
                                               const InVector     &v)
@@ -1266,7 +1266,7 @@ namespace internal
     number residual_sqr_on_subrange (const unsigned int  begin_row,
                                      const unsigned int  end_row,
                                      const number       *values,
-                                     const std::size_t  *rowstart,
+                                     const std::size_t *rowstart,
                                      const unsigned int *colnums,
                                      const InVector     &u,
                                      const InVector     &b,
@@ -1336,7 +1336,7 @@ SparseMatrix<number>::precondition_Jacobi (Vector<somenumber>       &dst,
   const unsigned int n = src.size();
   somenumber              *dst_ptr = dst.begin();
   const somenumber        *src_ptr = src.begin();
-  const std::size_t  *rowstart_ptr = &cols->rowstart[0];
+  const std::size_t *rowstart_ptr = &cols->rowstart[0];
 
   // optimize the following loop for
   // the case that the relaxation
@@ -1380,7 +1380,7 @@ SparseMatrix<number>::precondition_SSOR (Vector<somenumber>              &dst,
   Assert (src.size() == n(), ExcDimensionMismatch (src.size(), n()));
 
   const unsigned int  n            = src.size();
-  const std::size_t  *rowstart_ptr = &cols->rowstart[0];
+  const std::size_t *rowstart_ptr = &cols->rowstart[0];
   somenumber         *dst_ptr      = &dst(0);
 
   // case when we have stored the position
index 1bea6bebaf33e5d9e38a91735e0522169d92bb75..8c898ed3bb126bae94b910e25b208fba0ecf46b3 100644 (file)
@@ -134,7 +134,7 @@ namespace TrilinosWrappers
      * of the given input vector and copy
      * the elements.
      */
-    BlockVector (const BlockVector  &V);
+    BlockVector (const BlockVector &V);
 
     /**
      * Creates a block vector
index fd80a509dc01d223232f1f43f2ce378da69f2ae1..34b7bd28e32367d3f67e31cf76dc29c5454fe907 100644 (file)
@@ -128,7 +128,7 @@ namespace TrilinosWrappers
        * to those of the given argument and
        * copy the elements.
        */
-      BlockVector (const BlockVector  &V);
+      BlockVector (const BlockVector &V);
 
       /**
        * Creates a block vector
index 57c37983382454ee8ee7ca9b5e53edf3a69a95ea..7460a835a822d65c11a35edf0d5fdb98b6a81199 100644 (file)
@@ -120,7 +120,7 @@ namespace TrilinosWrappers
      * solver control object and
      * creates the solver.
      */
-    SolverBase (SolverControl  &cn);
+    SolverBase (SolverControl &cn);
 
     /**
      * Second constructor. This
@@ -555,7 +555,7 @@ namespace TrilinosWrappers
      * solver control object and
      * creates the solver.
      */
-    SolverDirect (SolverControl  &cn,
+    SolverDirect (SolverControl &cn,
                   const AdditionalData &data = AdditionalData());
 
     /**
index 966727d927939e1888bbd50b83ec06547977d004..e7f981240d8226d3575837b37fb260491402cb32 100644 (file)
@@ -498,7 +498,7 @@ namespace internal
     struct InnerProd
     {
       Number
-      operator() (const Number *&X, const Number2 *&Y, const Number &) const
+      operator() (const Number  *&X, const Number2  *&Y, const Number &) const
       {
         return *X++ * Number(numbers::NumberTraits<Number2>::conjugate(*Y++));
       }

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.