Yes Il Gio 30 Mag 2019, 14:36 Matthew Knepley <knep...@gmail.com> ha scritto:
> On Thu, May 30, 2019 at 1:26 AM Stefano Zampini <stefano.zamp...@gmail.com> > wrote: > >> Matt, >> >> redistribution with overlapped mesh is fixed in master (probably also in >> maint) >> > > Thanks! Do you just strip out the overlap cells from the partition > calculation? > > Matt > > >> Stefano >> >> Il Gio 30 Mag 2019, 06:09 Matthew Knepley via petsc-users < >> petsc-users@mcs.anl.gov> ha scritto: >> >>> On Wed, May 29, 2019 at 10:54 PM Adrian Croucher < >>> a.crouc...@auckland.ac.nz> wrote: >>> >>>> On 30/05/19 2:45 PM, Matthew Knepley wrote: >>>> >>>> >>>> Hmm, I had not thought about that. It will not do that at all. We have >>>> never rebalanced a simulation >>>> using overlap cells. I would have to write the code that strips them >>>> out. Not hard, but more code. >>>> If you only plan on redistributing once, you can wait until then to add >>>> the overlap cells. >>>> >>>> >>>> So for now at least, you would suggest doing the initial distribution >>>> with overlap = 0, and then the redistribution with overlap = 1? >>>> >>>> (I shouldn't need to redistribute more than once.) >>>> >>> >>> Yep. Those actions are actually separate too. All Distribute() does is >>> first distribute with no overlap, and then call DIstributeOverlap(). >>> >>> Thanks, >>> >>> Matt >>> >>>> - Adrian >>>> >>>> -- >>>> Dr Adrian Croucher >>>> Senior Research Fellow >>>> Department of Engineering Science >>>> University of Auckland, New Zealand >>>> email: a.crouc...@auckland.ac.nz >>>> tel: +64 (0)9 923 4611 >>>> >>>> >>> >>> -- >>> What most experimenters take for granted before they begin their >>> experiments is infinitely more interesting than any results to which their >>> experiments lead. >>> -- Norbert Wiener >>> >>> https://www.cse.buffalo.edu/~knepley/ >>> <http://www.cse.buffalo.edu/~knepley/> >>> >> > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > > https://www.cse.buffalo.edu/~knepley/ > <http://www.cse.buffalo.edu/~knepley/> >