<br>
Here's a thought- why not ask the Hypre guys?<br><br>http://www.llnl.gov/CASC/linear_solvers/team.html<br><br>Cheers<br>Yaron<br><br>
<br>
<table class="readtext" border="0" cellpadding="1" cellspacing="7"><tbody><tr><td bgcolor="black"></td><td>-------Original Message-------<br>
From: Fernando Campos <asdfgf@ig.com.br><br>
Subject: Re: PETSC-Hypre: number of level with boomeramg<br>
Sent: 25 Jan '07 08:26<br>
<br>
Dear Nicolas, <br>
<br>
It is a good question, but I don't know the answer... <br>
Why don't you try to set the maximum levels to a large numbers in order to <br>
see how many levels boomerAMG creates? I believe that it refines the grid up <br>
to the maximum number of levels as you sad. <br>
<br>
I am very interested in both geometric and algebraic multigrids and I also <br>
have a question: "Is it possible to obtain the coarse matrices of each level <br>
using boomerAMG?" <br>
<br>
Best Regards. <br>
<br>
<br>
Em (15:31:40), <a mce_real_href="http://webmail.oak-research.com/compose.php?to=petsc-users@mcs.anl.gov" href="http://webmail.oak-research.com/compose.php?to=petsc-users@mcs.anl.gov" target="_top" style="text-decoration: underline;">petsc-users@mcs.anl.gov</a> escreveu: <br>
<br>
<br>
&gt;Dear Fernando, <br>
&gt; <br>
&gt;Thanks for your reply. <br>
&gt; <br>
&gt;I had notice the value maxlevels given by -ksp_view, but I did not know <br>
&gt;how to change this value. <br>
&gt; <br>
&gt;Still, as the default is 25 levels I think, I have no way to know exactly <br>
&gt;how many levels are used for a given case. <br>
&gt;I can reformulate my question in this way: does boomeramg coarsen the <br>
&gt;"grid" to the coarsest level possible, i.e. 1 cell over the domain, or <br>
&gt;does it stop before that? (grid is not the right term when it comes to <br>
&gt;algebraic multilevel methods, but I can't find any other clear way to <br>
&gt;express it). How can I control the coarsening? <br>
&gt; <br>
&gt;Thinking about it, perhaps boomeramd actually refines the grid up to the <br>
&gt;maximum number of levels...Is it so? <br>
&gt; <br>
&gt;Thanks for your help. <br>
&gt; <br>
&gt;Nicolas <br>
&gt; <br>
&gt;&gt; Nicolas, <br>
&gt;&gt; <br>
&gt;&gt; You should try the option -pc_hypre_boomeramg_max_levels in the line <br>
&gt;&gt; command. In order to see the level's details you can use the PESTc option <br>
&gt;&gt; -ksp_view. <br>
&gt;&gt; <br>
&gt;&gt; Best Regards <br>
&gt;&gt; <br>
&gt;&gt; Fernando. <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Em (11:15:45), <a mce_real_href="http://webmail.oak-research.com/compose.php?to=petsc-users@mcs.anl.gov" href="http://webmail.oak-research.com/compose.php?to=petsc-users@mcs.anl.gov" target="_top" style="text-decoration: underline;">petsc-users@mcs.anl.gov</a> escreveu: <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt;&gt;Hi Petsc users, <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt;I have a question regarding the use of Hypre and especially Boomeramg. <br>
&gt;&gt;&gt;How can we control the number of levels in the multigrid algortihm? Can <br>
&gt;&gt;&gt; we <br>
&gt;&gt;&gt;chose it, or if not, can we display it in some way? <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt;Best regards, <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt;Nicolas. <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt;-- <br>
&gt;&gt;&gt;Nicolas BATHFIELD <br>
&gt;&gt;&gt;Chalmers University of Technology <br>
&gt;&gt;&gt;Shipping and Marine Technology <br>
&gt;&gt;&gt;phone: +46 (0)31 772 1476 <br>
&gt;&gt;&gt;fax: +46 (0)31 772 3699 <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt;---------- <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; <br>
&gt;-- <br>
&gt;Nicolas BATHFIELD <br>
&gt;Chalmers University of Technology <br>
&gt;Shipping and Marine Technology <br>
&gt;phone: +46 (0)31 772 1476 <br>
&gt;fax: +46 (0)31 772 3699 <br>
&gt; <br>
&gt;---------- <br>
<br>
<br>
</asdfgf@ig.com.br></td></tr></tbody></table>