typedef SparseMatrix<double> SparseMatrix;
-
-
+ typedef PreconditionSSOR<SparseMatrix > PreconditionSSOR;
}
#include <deal.II/lac/petsc_vector.h>
#include <deal.II/lac/petsc_block_vector.h>
#include <deal.II/lac/petsc_parallel_sparse_matrix.h>
+#include <deal.II/lac/petsc_sparse_matrix.h>
#include <deal.II/lac/petsc_parallel_block_sparse_matrix.h>
#include <deal.II/lac/petsc_precondition.h>
{
using namespace dealii;
+ typedef PETScWrappers::Vector Vector;
+ typedef PETScWrappers::BlockVector BlockVector;
+
+ typedef PETScWrappers::SparseMatrix SparseMatrix;
+ typedef PETScWrappers::PreconditionSSOR PreconditionSSOR;
+
+
+ namespace MPI
+ {
+
/**
* Typedef for the vector type used.
*/
* for other blocks of the system matrix.
*/
typedef PETScWrappers::PreconditionILU PreconditionILU;
+ }
+
}
DEAL_II_NAMESPACE_CLOSE
namespace LinearAlgebraTrilinos
{
using namespace dealii;
-
+ namespace MPI
+ {
+
/**
* Typedef for the vector type used.
*/
* for other blocks of the system matrix.
*/
typedef TrilinosWrappers::PreconditionILU PreconditionILU;
+ }
+
}
DEAL_II_NAMESPACE_CLOSE