Re: [petsc-users] Boundary condition IS

2017-12-07 Thread Matthew Knepley
On Thu, Dec 7, 2017 at 2:23 AM, Mohammad Hassan Baghaei < mhbagh...@mail.sjtu.edu.cn> wrote: > Hello > > I am using DMPlex to construct a fully circular 2D domain for my PDEs. As > I am discretizing the PDEs using finite difference method, > How do you do FD on an unstructured mesh? > I need

Re: [petsc-users] Boundary condition IS

2017-12-06 Thread Yann Jobic
Le 07/12/2017 à 08:23, Mohammad Hassan Baghaei a écrit : Hello I am using DMPlex to construct a fully circular 2D domain for my PDEs. As I am discretizing the PDEs using finite difference method, I need to know , to define the layout of PetscSection, how I can find the boundary condition

[petsc-users] Boundary condition IS

2017-12-06 Thread Mohammad Hassan Baghaei
Hello I am using DMPlex to construct a fully circular 2D domain for my PDEs. As I am discretizing the PDEs using finite difference method, I need to know , to define the layout of PetscSection, how I can find the boundary condition IS. I know the location of the boundaries in Sieve chart.