[dune-pdelab] dune-pdelab Digest, Vol 28, Issue 2
Jared Okiro
jared.okiro at st.ovgu.de
Mon Jan 9 11:06:28 CET 2012
On 01/09/2012 09:35 AM, Markus Blatt wrote:
> 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
>
> Hi Markus,
Thanks for the response. When I try to use use any of the above methods,
I get this error:
/homes/okiro/DUNE/dune-svn/dune-istl/dune/istl/io.hh:252:5: error:
‘coldim’ is not a member of
‘Dune::MatrixDimension<Dune::BlockVector<Dune::FieldVector<double, 4>,
std::allocator<Dune::FieldVector<double, 4> > > >’
/homes/okiro/DUNE/dune-svn/dune-istl/dune/istl/io.hh:252:5: error:
‘rowdim’ is not a member of
‘Dune::MatrixDimension<Dune::BlockVector<Dune::FieldVector<double, 4>,
std::allocator<Dune::FieldVector<double, 4> > > >’
/homes/okiro/DUNE/dune-svn/dune-istl/dune/istl/io.hh:252:5: error:
‘const class Dune::BlockVector<Dune::FieldVector<double, 4>,
std::allocator<Dune::FieldVector<double, 4> > >’ has no member named ‘M’.
--
Jared Ouma Okiro,
Institute for Analysis and Numerics,
Otto-von- Guericke Universität,
Universitätsplatz 02, Gebaude 02 / 115
39106 Magdeburg, Germany
Office Tel: +493916712660
Fax: +493916718073
Mobile: +4917657479787
Home Tel: +4939155917376
More information about the dune-pdelab
mailing list