[Dune] Print large matrix

Oliver Sander oliver.sander at tu-dresden.de
Fri Oct 2 07:59:25 CEST 2020


Hi Yimin,

as far as I know you can't do that.  But are you aware that there is a writeMatrixToMatlab method
in dune/istl/io.hh which writes matrices in sparse Matlab format?  Maybe that can help you?

Best,
Oliver

On 01.10.20 23:10, Lucas Liu wrote:
> Hi,
> 
> Is there an option in the "print_matrix" function to print only the first and last several entries for very large BCSR matrices?  
> 
> Thanks,
> Yimin
> 
> _______________________________________________
> Dune mailing list
> Dune at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20201002/f72ffbf4/attachment.bin>


More information about the Dune mailing list