<div dir="ltr">On Sun, Mar 24, 2013 at 6:35 AM, Nico Schlömer <span dir="ltr"><<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> <a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSetBlockSize.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSetBlockSize.html</a><br>

<br>
Thanks!<br>
<div class="im"><br>
> For complex-valued problems, you're likely better off using complex numbers.<br>
<br>
</div>Does PETSc support complex arithmetic natively? That'd be another<br>
reason for getting complex-value support into FEniCS.</blockquote><div><br></div><div style>Yes.</div><div style><br></div><div style>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--Nico<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Sat, Mar 23, 2013 at 8:29 PM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>> wrote:<br>
> <a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSetBlockSize.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSetBlockSize.html</a><br>
><br>
> PCML, PCHYPRE, and PCGAMG pay attention to this parameter if no richer<br>
> information (like near-null spaces) is provided.<br>
><br>
> For complex-valued problems, you're likely better off using complex numbers.<br>
><br>
><br>
> On Sat, Mar 23, 2013 at 2:25 PM, Nico Schlömer <<a href="mailto:nico.schloemer@gmail.com">nico.schloemer@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I've got this linear system consisting of 2x2 blocks (acutally coming<br>
>> from a real-imaginary formulation of a complex-valued problem) and I'd<br>
>> like to precondition the linear solves with AMG. Things are already<br>
>> working well when taking the defaults, but I guess one could achieve<br>
>> way better when telling AMG about the 2x2 structure. Trilinos' ML does<br>
>> this by a parameter "PDE equations". -- Is there something comparable<br>
>> in the PETSc world?<br>
>><br>
>> --Nico<br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>