<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Henrik,<br>
the best example that I know of is the AMG unit test program, in<br>
<br>
dune-istl/dune/istl/paamg/test/amgtest.cc<br>
<br>
That one does not read a matrix from file, though. For that, have
a look<br>
at the file<br>
<br>
dune-istl/dune/istl/matrixmarket.hh<br>
<br>
[Disclaimer: I have never used that file myself.]<br>
<br>
Good luck :-)<br>
Oliver<br>
<br>
Am 26.08.2015 um 09:22 schrieb Buesing, Henrik:<br>
</div>
<blockquote
cite="mid:DBEF383764FCE7428354CFA9A0591A86F503CA58@eonblitz17.eonerc.rwth-aachen.de"
type="cite">
<pre wrap="">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
------------------------------------------------------
<a class="moz-txt-link-freetext" href="http://www.eonerc.rwth-aachen.de/GGE">http://www.eonerc.rwth-aachen.de/GGE</a>
<a class="moz-txt-link-abbreviated" href="mailto:hbuesing@eonerc.rwth-aachen.de">hbuesing@eonerc.rwth-aachen.de</a>
------------------------------------------------------
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>