16 #include <deal.II/lac/petsc_full_matrix.h> 18 #ifdef DEAL_II_WITH_PETSC 20 #include <deal.II/lac/petsc_compatibility.h> 21 #include <deal.II/lac/exceptions.h> 23 DEAL_II_NAMESPACE_OPEN
58 const PetscErrorCode ierr = MatCreateSeqDense (PETSC_COMM_SELF,
m,
n,
67 static const MPI_Comm communicator = MPI_COMM_SELF;
73 DEAL_II_NAMESPACE_CLOSE
75 #endif // DEAL_II_WITH_PETSC PetscErrorCode destroy_matrix(Mat &matrix)
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)