Re: [petsc-users] how to get the vertices belongs to a control volume in 2D?

2017-05-15 Thread leejearl
Hi, all: Thanks for your kind reply. Matt's course notes looks very nice. Thanks, leejearl On 2017年05月12日 17:10, Matthew Knepley wrote: On Fri, May 12, 2017 at 3:48 AM, Lawrence Mitchell > wrote:

Re: [petsc-users] how to get the vertices belongs to a control volume in 2D?

2017-05-12 Thread Matthew Knepley
On Fri, May 12, 2017 at 3:48 AM, Lawrence Mitchell < lawrence.mitch...@imperial.ac.uk> wrote: > > > On 12 May 2017, at 04:57, 李季 wrote: > > > > Hi developers: > > I have such a question that I want to get the vertices of a cell. I > know I can get the points by > > 1.

Re: [petsc-users] how to get the vertices belongs to a control volume in 2D?

2017-05-12 Thread Lawrence Mitchell
> On 12 May 2017, at 04:57, 李季 wrote: > > Hi developers: > I have such a question that I want to get the vertices of a cell. I know > I can get the points by > 1. Getting the faces of a cell such as "DMPlexGetCone(dm, c, "; > 2. Getting the vertices of every face

[petsc-users] how to get the vertices belongs to a control volume in 2D?

2017-05-11 Thread 李季
Hi developers: I have such a question that I want to get the vertices of a cell. I know I can get the points by 1. Getting the faces of a cell such as "DMPlexGetCone(dm, c, "; 2. Getting the vertices of every face of the cell such as "DMPlexGetCone(dm, f, )". Then I can