[Dune] Read in matrix and rhs, solve linear system

Oliver Sander sander at igpm.rwth-aachen.de
Thu Aug 27 09:06:18 CEST 2015


Hi Henrik,
the best example that I know of is the AMG unit test program, in

dune-istl/dune/istl/paamg/test/amgtest.cc

That one does not read a matrix from file, though.  For that, have a look
at the file

dune-istl/dune/istl/matrixmarket.hh

[Disclaimer: I have never used that file myself.]

Good luck :-)
Oliver

Am 26.08.2015 um 09:22 schrieb Buesing, Henrik:
> Dear all,
>
> I would like to test the algebraic multigrid method (AMG) implemented in Dune on some matrices I have. Is there an example program, which reads in a matrix and rhs and then solves it with AMG?
> Thank you for your help!
>
> Henrik Büsing
>
> --
> Dipl.-Math. Henrik Büsing
> Institute for Applied Geophysics and Geothermal Energy
> E.ON Energy Research Center
> RWTH Aachen University
> ------------------------------------------------------
> Mathieustr. 10            |    Tel +49 (0)241 80 49907
> 52074 Aachen, Germany     |    Fax +49 (0)241 80 49889
> ------------------------------------------------------
> http://www.eonerc.rwth-aachen.de/GGE
> hbuesing at eonerc.rwth-aachen.de
> ------------------------------------------------------
>
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150827/7f4127b6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150827/7f4127b6/attachment.sig>


More information about the Dune mailing list