Thank you very much.
On Wednesday, 29 July 2020 12:31:30 UTC-7, Daniel Arndt wrote:
>
> Of course, there is also PETScWrappers::MatrixBase::print(
> https://www.dealii.org/current/doxygen/deal.II/classPETScWrappers_1_1MatrixBase.html#a7515e640202d1ad50bd9baa13c404cb1)
>
> that should work.
>
>
Thank you very much.
On Wednesday, 29 July 2020 09:59:43 UTC-7, Wolfgang Bangerth wrote:
>
> On 7/28/20 12:11 PM, 孙翔 wrote:
> > Hi, I followed step-17 and build a system matrix of which type
> > is PETScWrappers::MPI::SparseMatrix. I want to output it after
> assembling. How
> > should I do
On 7/29/20 1:31 PM, Daniel Arndt wrote:
Of course, there is also
PETScWrappers::MatrixBase::print(https://www.dealii.org/current/doxygen/deal.II/classPETScWrappers_1_1MatrixBase.html#a7515e640202d1ad50bd9baa13c404cb1
Of course, there is also PETScWrappers::MatrixBase::print(
https://www.dealii.org/current/doxygen/deal.II/classPETScWrappers_1_1MatrixBase.html#a7515e640202d1ad50bd9baa13c404cb1)
that should work.
Best,
Daniel
Am Mi., 29. Juli 2020 um 12:59 Uhr schrieb Wolfgang Bangerth <
On 7/28/20 12:11 PM, 孙翔 wrote:
Hi, I followed step-17 and build a system matrix of which type
is PETScWrappers::MPI::SparseMatrix. I want to output it after assembling. How
should I do it? Thank you very much.
If performance doesn't matter, just loop over all indices i and j and output
the