Co-authored-by: David Wells <drwells@email.unc.edu>
New: PETScWrappers:BlockSparseMatrix now is also a PETSc MATNEST type.
<br>
-(StefanZampini, 2022/12/20)
+(Stefano Zampini, 2022/12/20)
* particular, it should only be used for read-only operations into the
* matrix.
*/
- operator Mat() const;
+ operator const Mat &() const;
/**
* Return a reference to the underlying PETSc type. It can be used to
BlockSparseMatrix::~BlockSparseMatrix()
{
PetscErrorCode ierr = destroy_matrix(petsc_nest_matrix);
- AssertThrow(ierr == 0, ExcPETScError(ierr));
+ AssertNothrow(ierr == 0, ExcPETScError(ierr));
}
# ifndef DOXYGEN
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams