[dune-pdelab] dune-pdelab Digest, Vol 28, Issue 2
Markus Blatt
markus at dr-blatt.de
Mon Jan 9 09:35:19 CET 2012
Hi,
On Mon, Jan 09, 2012 at 09:24:55AM +0100, Jared Okiro wrote:
> Thanks for the response. I printed the matrix after the time
> loop(just after very few time steps). Here is the line of code that
> I used:
>
> Dune::printvector(std::cout,unew.base(),"const residual","row",4,9,1);
>
I am a little bit confused. If unew is matrix, you must not use
printvector. For matrices please use printmatrix or printSparseMatrix,
see
http://www.dune-project.org/doc-pdelab-trunk/doxygen/html/group__ISTL__IO.html#g55d8d3e8e4abe142d42a559f7ceb1d42
and
http://www.dune-project.org/doc-pdelab-trunk/doxygen/html/group__ISTL__IO.html#g924aaa348bfbd06003c8437547600efc
Markus
--
Do you need more support with DUNE or HPC in general?
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Rappoltsweilerstr. 5, 68229 Mannheim, Germany
Tel.: +49 (0) 160 97590858 Fax: +49 (0)322 1108991658
More information about the dune-pdelab
mailing list