[petsc-users] A question about DMPlexDistribute

leejearl leejearl at 126.com
Thu Aug 11 03:14:48 CDT 2016


Hi,
     Thank you for your reply. It help me very much.
     But, for "/petsc-3.7.2/src/ts/examples/tutorials/ex11.c", when I 
set the overlap to 2 levels, the command is
"mpirun -n 3 ./ex11 -f annulus-20.exo -ufv_mesh_overlap 2 -physics sw", 
it suffers a error.
     It seems to me that setting overlap to 2 is very common. Are there 
issues that I have not take into consideration?
     Any help are appreciated.

leejearl


On 2016年08月11日 14:57, Julian Andrej wrote:
> Hi,
>
> take a look at slide 10 of [1], there is visually explained what the 
> overlap between partitions is.
>
> [1] 
> https://www.archer.ac.uk/training/virtual/files/2015/06-PETSc/slides.pdf
>
> On Thu, Aug 11, 2016 at 8:48 AM, leejearl <leejearl at 126.com 
> <mailto:leejearl at 126.com>> wrote:
>
>     Hi, all:
>         I want to use PETSc to build my FVM code. Now, I have a
>     question about
>     the function  DMPlexDistribute(DM dm, PetscInt overlap, PetscSF
>     *sf, DM *dmOverlap) .
>
>         In the example
>     "/petsc-3.7.2/src/ts/examples/tutorials/ex11.c". When I set the
>     overlap
>     as 0 or 1, it works well. But, if I set the overlap as 2, it
>     suffers a problem.
>         I am confused about the value of overlap. Can it be set as 2?
>     What is the meaning of
>     the parameter overlap?
>         Any helps are appreciated!
>
>     leejearl
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160811/6ed88d55/attachment.html>


More information about the petsc-users mailing list