[petsc-users] DMCloning from a DMPlex has changed in Petsc-3.17.0?

Lawrence Mitchell wence at gmx.li
Tue Apr 12 09:00:12 CDT 2022

On Tue, 12 Apr 2022 at 12:18, Matthew Knepley <knepley at gmail.com> wrote:
> On Tue, Apr 12, 2022 at 7:02 AM Berend van Wachem <berend.vanwachem at ovgu.de> wrote:
>> Dear Matt,
>> In our code, the size of the overlap is determined in runtime, based on
>> some calculations. Therefore, we cannot specify it using the
>> -dm_distribute_overlap option.
>> Is there an alternative to set the overlap from within the code before
>> calling DMPlexDistribute() from the code?
> You could call PetscOptionsSetValue()

You could also initially distribute with zero overlap (the default?)
and then call DMPlexDistributeOverlap programmatically to build an
overlapped DM.


More information about the petsc-users mailing list