<html><head></head><body>Exactly.<br><br>Thanks,<br>Vaclav<br><br><div class="gmail_quote">4. září 2019 20:15:42 SELČ, "Smith, Barry F." <bsmith@mcs.anl.gov> napsal:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br> It seems reasonable at SetUp time to make it 1. If we need to have the information that user never set it (I don't know why we would want this) then that can go into a new flag.<br><br> Barry<br><br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On Sep 4, 2019, at 11:15 AM, Matthew Knepley via petsc-dev <petsc-dev@mcs.anl.gov> wrote:<br><br>On Wed, Sep 4, 2019 at 12:14 PM Václav Hapla via petsc-dev <petsc-dev@mcs.anl.gov> wrote:<br>Is there any reason why PetscLayoutSetUp couldn't guarantee blocksize >= 1? I don't like the negative value being there forever requiring all that PetscAbs business. It seems to me it just complicates things unnecessarily.<br><br>We are using -1 to indicate "never set", but I don't see any reason to keep it after SetUp().<br><br> Matt<br> <br>Thanks,<br>Vaclav<br><br><br>-- <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<br><br><a href="https://www.cse.buffalo.edu/~knepley/">https://www.cse.buffalo.edu/~knepley/</a><br></blockquote><br></pre></blockquote></div></body></html>