----------------------------------------------------------------------------- -----------------------------------------------------------------------------
| 564 | //----------------------------------------------------------------------------- |
| 565 | //----------------------------------------------------------------------------- |
| 566 | petsc::Matrix::Matrix(MPI_Comm comm, const SparsityPattern& sp, |
| 567 | std::optional<std::string> type) |
| 568 | : Operator(petsc::create_matrix(comm, sp, std::move(type)), false) |
| 569 | { |
| 570 | // Do nothing |
| 571 | } |
| 572 | //----------------------------------------------------------------------------- |
| 573 | petsc::Matrix::Matrix(Mat A, bool inc_ref_count) : Operator(A, inc_ref_count) |
| 574 | { |
nothing calls this directly
no test coverage detected