16 #include <deal.II/lac/petsc_full_matrix.h> 18 #ifdef DEAL_II_WITH_PETSC 20 # include <deal.II/lac/petsc_vector.h> 22 DEAL_II_NAMESPACE_OPEN
45 #if DEAL_II_PETSC_VERSION_LT(3,2,0) 46 const int ierr = MatDestroy (
matrix);
48 const int ierr = MatDestroy (&
matrix);
62 = MatCreateSeqDense (PETSC_COMM_SELF, m, n, PETSC_NULL,
72 static const MPI_Comm communicator = MPI_COMM_SELF;
78 DEAL_II_NAMESPACE_CLOSE
80 #endif // DEAL_II_WITH_PETSC
types::global_dof_index size_type
virtual const MPI_Comm & get_mpi_communicator() const
#define AssertThrow(cond, exc)
void do_reinit(const size_type m, const size_type n)
void reinit(const size_type m, const size_type n)