15#ifdef DEAL_II_WITH_PETSC
28#ifdef DEAL_II_WITH_PETSC
39 const PetscInt
m = 0,
n = 0;
40 const PetscErrorCode ierr =
41 MatCreateSeqDense(PETSC_COMM_SELF,
m,
n,
nullptr, &
matrix);
55 PetscErrorCode ierr = MatDestroy(&
matrix);
65 const size_type local_columns_per_process)
68 communicator,
m,
n, local_rows_per_process, local_columns_per_process);
78 const size_type local_columns_per_process)
81 const PetscErrorCode ierr = MatDestroy(&
matrix);
85 communicator,
m,
n, local_rows_per_process, local_columns_per_process);
104 const size_type local_columns_per_process)
114 PetscErrorCode ierr = MatCreateDense(communicator,
115 local_rows_per_process,
116 local_columns_per_process,
void do_reinit(const MPI_Comm communicator, const size_type m, const size_type n, const size_type local_rows_per_process, const size_type local_columns_per_process)
MatrixBase & operator=(const MatrixBase &)=delete
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertThrowIntegerConversion(index1, index2)
#define AssertNothrow(cond, exc)
#define AssertThrow(cond, exc)
void reinit(const MPI_Comm communicator, const size_type m, const size_type n, const size_type local_rows_per_process, const size_type local_columns_per_process)
FullMatrix & operator=(const value_type d)