From: Wolfgang Bangerth Date: Thu, 6 Aug 2009 14:23:21 +0000 (+0000) Subject: Provide forward declarations. Re-indent a couple of places. X-Git-Tag: v8.0.0~7376 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4542cb8c7243c032be4d5dd86c5d289998d8fe8e;p=dealii.git Provide forward declarations. Re-indent a couple of places. git-svn-id: https://svn.dealii.org/trunk@19191 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/petsc_matrix_base.h b/deal.II/lac/include/lac/petsc_matrix_base.h index 786773dbef..019c6544f3 100644 --- a/deal.II/lac/include/lac/petsc_matrix_base.h +++ b/deal.II/lac/include/lac/petsc_matrix_base.h @@ -28,6 +28,8 @@ DEAL_II_NAMESPACE_OPEN +template class BlockMatrixBase; + namespace PETScWrappers { @@ -1221,11 +1223,11 @@ namespace PETScWrappers /** - * To allow calling protected prepare_add() - * and prepare_set(). + * To allow calling protected + * prepare_add() and + * prepare_set(). */ template friend class BlockMatrixBase; - }; diff --git a/deal.II/lac/include/lac/petsc_parallel_sparse_matrix.h b/deal.II/lac/include/lac/petsc_parallel_sparse_matrix.h index a60e9c9bad..38128e8440 100644 --- a/deal.II/lac/include/lac/petsc_parallel_sparse_matrix.h +++ b/deal.II/lac/include/lac/petsc_parallel_sparse_matrix.h @@ -27,8 +27,7 @@ DEAL_II_NAMESPACE_OPEN // forward declaration -template -class BlockMatrixBase; +template class BlockMatrixBase; namespace PETScWrappers @@ -429,8 +428,9 @@ namespace PETScWrappers const bool preset_nonzero_locations); /** - * To allow calling protected prepare_add() - * and prepare_set(). + * To allow calling protected + * prepare_add() and + * prepare_set(). */ friend class BlockMatrixBase; }; diff --git a/deal.II/lac/include/lac/petsc_sparse_matrix.h b/deal.II/lac/include/lac/petsc_sparse_matrix.h index 37d3b79e17..2c0eabfeb2 100644 --- a/deal.II/lac/include/lac/petsc_sparse_matrix.h +++ b/deal.II/lac/include/lac/petsc_sparse_matrix.h @@ -24,8 +24,7 @@ DEAL_II_NAMESPACE_OPEN // forward declaration -template -class BlockMatrixBase; +template class BlockMatrixBase; namespace PETScWrappers @@ -323,10 +322,11 @@ namespace PETScWrappers const bool preset_nonzero_locations); /** - * To allow calling protected prepare_add() - * and prepare_set(). + * To allow calling protected + * prepare_add() and + * prepare_set(). */ - friend class BlockMatrixBase; + friend class BlockMatrixBase; }; } diff --git a/deal.II/lac/include/lac/trilinos_sparse_matrix.h b/deal.II/lac/include/lac/trilinos_sparse_matrix.h index 9a220c1072..a288fa6fb0 100755 --- a/deal.II/lac/include/lac/trilinos_sparse_matrix.h +++ b/deal.II/lac/include/lac/trilinos_sparse_matrix.h @@ -41,8 +41,7 @@ DEAL_II_NAMESPACE_OPEN // forward declarations -template -class BlockMatrixBase; +template class BlockMatrixBase; template class SparseMatrix; @@ -2004,10 +2003,11 @@ namespace TrilinosWrappers std::auto_ptr matrix; /** - * To allow calling protected prepare_add() - * and prepare_set(). + * To allow calling protected + * prepare_add() and + * prepare_set(). */ - friend class BlockMatrixBase; + friend class BlockMatrixBase; };