<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 9, 2017 at 9:36 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Matt,<br>
<br>
I don't understand PETSCPARTITIONSHELL.<br>
<br>
Why does it exist? Why not just use PETSCPARTITIONSIMPLE when no other partitioner exists?<br>
<br>
Why is it called shell? Other XXSHELL allow users to provide their own routines to provide the XX functionality, this does not seem to do that. So it is not shell in the PETSc sense.<br>
<br>
Why hard wire examples to use it? Why not just have list it as an args: in the test cases with -petscpartitioner_type shell (but why not just simple?) putting the ugly shit directly into the source code seems unnecessary and annoying.</blockquote><div><br></div><div>1) The two partitioners do different things:</div><div><br></div><div> Simple: It divides the cells evenly without reordering.</div><div><br></div><div> Shell: It allows the user to set a prescribed partition</div><div><br></div><div>It is clear to me that Shell is needed because sometimes you want to prescribe the partition, if for no</div><div>other reason than you know that a certain partition has a bug. Simple is questionable, but we were</div><div>using it for testing.</div><div><br></div><div>2) It is called Shell because for a shell the user prescribes the behavior directly, which is exactly what happens.</div><div><br></div><div>3) I did not put it in arguments because it can get very long, and I thought it was easier to see and manipulate in the code. I am open to moving it.</div><div><br></div><div> 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>
<br>
Barry<br>
<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">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></div>