[petsc-dev] Negative blocksize

Smith, Barry F. bsmith at mcs.anl.gov
Wed Sep 4 19:46:17 CDT 2019


  Jed,

     Good recall. We could use the new flag that indicates the block size was never set by the user to allow a change from the 1?

  Barry


> On Sep 4, 2019, at 2:42 PM, Jed Brown <jed at jedbrown.org> wrote:
> 
> "Smith, Barry F. via petsc-dev" <petsc-dev at mcs.anl.gov> writes:
> 
>>  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.
> 
> I think I recall code paths in which the blocksize is set after
> PetscLayoutSetUp, and allowed so long as it's compatible with the sizes.
> It's possible that those are no longer relevant.



More information about the petsc-dev mailing list