From 54755f9ca44d1cc25f41f83c544ad939d53fec4a Mon Sep 17 00:00:00 2001 From: heister Date: Wed, 28 Aug 2013 19:44:00 +0000 Subject: [PATCH] fix comments and SSOR in generic_linear_algebra git-svn-id: https://svn.dealii.org/trunk@30521 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/lac/generic_linear_algebra.h | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/deal.II/include/deal.II/lac/generic_linear_algebra.h b/deal.II/include/deal.II/lac/generic_linear_algebra.h index 693d1b420b..293daf6b76 100644 --- a/deal.II/include/deal.II/lac/generic_linear_algebra.h +++ b/deal.II/include/deal.II/lac/generic_linear_algebra.h @@ -89,7 +89,6 @@ namespace LinearAlgebraPETSc typedef PETScWrappers::BlockVector BlockVector; typedef PETScWrappers::SparseMatrix SparseMatrix; - typedef PETScWrappers::PreconditionSSOR PreconditionSSOR; typedef PETScWrappers::SolverCG SolverCG; @@ -122,29 +121,30 @@ namespace LinearAlgebraPETSc typedef dealii::BlockCompressedSimpleSparsityPattern CompressedBlockSparsityPattern; /** - * Typedef for the AMG preconditioner type used for the - * top left block of the Stokes matrix. + * Typedef for the AMG preconditioner type. */ typedef PETScWrappers::PreconditionBoomerAMG PreconditionAMG; /** - * Typedef for the Incomplete Cholesky preconditioner used - * for other blocks of the system matrix. + * Typedef for the Incomplete Cholesky preconditioner. */ typedef PETScWrappers::PreconditionICC PreconditionIC; /** - * Typedef for the Incomplete LU decomposition preconditioner used - * for other blocks of the system matrix. + * Typedef for the Incomplete LU decomposition preconditioner. */ typedef PETScWrappers::PreconditionILU PreconditionILU; /** - * Typedef for the Incomplete Jacobi decomposition preconditioner used - * for other blocks of the system matrix. + * Typedef for the Incomplete Jacobi decomposition preconditioner. */ typedef PETScWrappers::PreconditionJacobi PreconditionJacobi; + /** + * Typedef for the SSOR preconditioner. + */ + typedef PETScWrappers::PreconditionSSOR PreconditionSSOR; + } } @@ -201,29 +201,30 @@ namespace LinearAlgebraTrilinos typedef TrilinosWrappers::BlockSparsityPattern CompressedBlockSparsityPattern; /** - * Typedef for the AMG preconditioner type used for the - * top left block of the Stokes matrix. + * Typedef for the AMG preconditioner type. */ typedef TrilinosWrappers::PreconditionAMG PreconditionAMG; /** - * Typedef for the Incomplete Cholesky preconditioner used - * for other blocks of the system matrix. + * Typedef for the Incomplete Cholesky preconditioner. */ typedef TrilinosWrappers::PreconditionIC PreconditionIC; /** - * Typedef for the Incomplete LU decomposition preconditioner used - * for other blocks of the system matrix. + * Typedef for the Incomplete LU decomposition preconditioner. */ typedef TrilinosWrappers::PreconditionILU PreconditionILU; /** - * Typedef for the Incomplete Jacobi decomposition preconditioner used - * for other blocks of the system matrix. + * Typedef for the Incomplete Jacobi decomposition preconditioner. */ typedef TrilinosWrappers::PreconditionJacobi PreconditionJacobi; + /** + * Typedef for the SSOR preconditioner + */ + typedef TrilinosWrappers::PreconditionSSOR PreconditionSSOR; + } -- 2.39.5