<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
In my program I assemble huge matrix (~500 millions of double
complex nnz) and all MatSetValues calls are done before
MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY).<br>
I'm wondering if it makes sense to use MatAssemblyBegin(A,
MAT_FLUSH_ASSEMBLY) in between? In docs it is said:<br>
>> <a
href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatSetValues.html#MatSetValues">MatSetValues</a>()
generally caches the values.<br>
<br>
How does the caching work actually? Is this additionally allocated
memory (dynamic or not)?<br>
<br>
Thanks.<br>
<pre class="moz-signature" cols="72">--
Regards,
Alexander</pre>
</body>
</html>