From: Peter Munch Date: Mon, 4 Jul 2022 19:00:31 +0000 (+0200) Subject: Fix formating X-Git-Tag: v9.5.0-rc1~1116^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14093%2Fhead;p=dealii.git Fix formating --- diff --git a/include/deal.II/lac/sparse_matrix.h b/include/deal.II/lac/sparse_matrix.h index a30dc94b2f..e110831ef2 100644 --- a/include/deal.II/lac/sparse_matrix.h +++ b/include/deal.II/lac/sparse_matrix.h @@ -14,30 +14,29 @@ // --------------------------------------------------------------------- #ifndef dealii_sparse_matrix_h -# define dealii_sparse_matrix_h +#define dealii_sparse_matrix_h +#include -# include +#include +#include -# include -# include - -# include -# include -# include -# include -# ifdef DEAL_II_WITH_MPI -# include -# endif +#include +#include +#include +#include +#ifdef DEAL_II_WITH_MPI +# include +#endif -# include -# include +#include +#include DEAL_II_NAMESPACE_OPEN // Forward declarations -# ifndef DOXYGEN +#ifndef DOXYGEN template class Vector; template @@ -46,7 +45,7 @@ template class BlockMatrixBase; template class SparseILU; -# ifdef DEAL_II_WITH_MPI +# ifdef DEAL_II_WITH_MPI namespace Utilities { namespace MPI @@ -56,15 +55,15 @@ namespace Utilities sum(const SparseMatrix &, const MPI_Comm &, SparseMatrix &); } } // namespace Utilities -# endif +# endif -# ifdef DEAL_II_WITH_TRILINOS +# ifdef DEAL_II_WITH_TRILINOS namespace TrilinosWrappers { class SparseMatrix; } -# endif # endif +#endif /** * @addtogroup Matrix1 @@ -1022,7 +1021,7 @@ public: void copy_from(const FullMatrix &matrix); -# ifdef DEAL_II_WITH_TRILINOS +#ifdef DEAL_II_WITH_TRILINOS /** * Copy the given Trilinos matrix to this one. The operation triggers an * assertion if the sparsity patterns of the current object does not contain @@ -1034,7 +1033,7 @@ public: */ SparseMatrix & copy_from(const TrilinosWrappers::SparseMatrix &matrix); -# endif +#endif /** * Add matrix scaled by factor to this matrix, i.e. the @@ -1782,17 +1781,17 @@ private: template friend class SparseMatrixIterators::Accessor; -# ifdef DEAL_II_WITH_MPI +#ifdef DEAL_II_WITH_MPI // Give access to internal datastructures to perform MPI operations. template friend void Utilities::MPI::sum(const SparseMatrix &, const MPI_Comm &, SparseMatrix &); -# endif +#endif }; -# ifndef DOXYGEN +#ifndef DOXYGEN /*---------------------- Inline functions -----------------------------------*/ @@ -2577,12 +2576,9 @@ SparseMatrix::prepare_set() // nothing to do here } -# endif // DOXYGEN - +#endif // DOXYGEN -/*---------------------------- sparse_matrix.h ---------------------------*/ DEAL_II_NAMESPACE_CLOSE #endif -/*---------------------------- sparse_matrix.h ---------------------------*/