<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 29, 2018 at 2:35 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
   Why not just stop it once it is equal to or less than the minimum values set by the person. </blockquote><div><br></div><div>That is what it does now. It stops when it is below the value given.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thus you need not "backtrack" by removing levels but the user still has some control over preventing a "tiny" coarse problem. For example in this case if the user set a minimum of 1000 it would end up with 642 unknowns on the coarse level </blockquote><div><br></div><div>Yes, that is what it would do now. I thought you wanted something different.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">which is likely better than 6 or 54.<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
    Barry<br>
<br>
<br>
> On Oct 29, 2018, at 8:27 AM, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
> <br>
> <br>
> <br>
> On Sun, Oct 28, 2018 at 4:54 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>> wrote:<br>
> <br>
>    Moved a question not needed in the public discussions to petsc-dev to ask Mark.<br>
> <br>
> <br>
>    Mark,<br>
> <br>
>     PCGAMGSetCoarseEqLim - Set maximum number of equations on coarsest grid <br>
> <br>
>    Is there a way to set the minimum number of equations on the coarse grid also? This particular case goes down to 6, 54 and 642 unknowns on the coarsest grids when I'm guessing it would be better to stop at 642 unknowns for the coarsest level. <br>
> <br>
> No, because I don't know how it is going to coarsen I did not want to bother with backtracking (I do when there is an error on the coarse grid so it would be easy to add this but I don't think it is worth the clutter). <br>
> <br>
<br>
</blockquote></div></div>