<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>So then, while PETSc<a></a> may not be efficient in such cases, it will still work correctly.</div>
<div> </div>
<div>Thanks for this. It is a good explanation.</div>
<div> </div>
<div> </div>
<div>Best,</div>
<div> </div>
<div>Peter.</div>
<div><br>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">Peter G. Raeth<a></a>, Ph.D.<br>
Senior Staff Scientist<br>
Signal and Image Processing<br>
High Performance Technologies, Inc<br>
937-904-5147<br>
<a href="mailto:praeth@hpti.com" target="_blank">praeth@hpti.com</a><a></a>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"></div>
</div>
</div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF957619"><font color="#000000" size="2" face="Tahoma"><b>From:</b> petsc-users-bounces@mcs.anl.gov [petsc-users-bounces@mcs.anl.gov] on behalf of Jed Brown [jed@59A2.org]<br>
<b>Sent:</b> Thursday, January 06, 2011 4:01 PM<br>
<b>To:</b> PETSc users list<br>
<b>Subject:</b> Re: [petsc-users] PETSc and dense matrices<br>
</font><br>
</div>
<div></div>
<div>
<div class="gmail_quote">On Thu, Jan 6, 2011 at 10:04, Raeth, Peter <span dir="ltr">
<<a href="mailto:PRaeth@hpti.com" target="_blank">PRaeth@hpti.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
While I can not put my finger on it, I thought I saw on a man page that PETSc was only designed for the solution of sparse matrices.</blockquote>
</div>
<br>
<div>I can try to explain:</div>
<div><br>
</div>
<div>Some choices in PETSc are not great if the problem has no "structure". I loosely define "structure" to mean that there is a way to store the forward operator in less than O(N^2) space and that there is a way to multiply the forward operator my a vector
in less than O(N^2) time. In addition to sparse matrices, this includes operators that can be applied using fast transforms like FFT and FMM, have tensor product structure, are the Schur complement or a low-rank correction of something fitting the above description,
etc.</div>
<div><br>
</div>
<div>If you only solve dense problems with no additional structure, then PETSc cannot have the absolute best performance. But it should be perfectly adequate for most dense problems and if you have some problems with structure and some dense problems, it offers
a uniform high-level interface and a lot of algorithmic flexibility that you won't find in a dense-only package.</div>
</div>
</div>
</div>
</body>
</html>