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. Getting the faces of

Re: [petsc-users] Some general questions

2017-05-12 Thread Matthew Knepley
On Fri, May 12, 2017 at 2:25 AM, Dave May wrote: > > > On 12 May 2017 at 07:50, Matt Baker wrote: > >> Hello, >> >> >> I have a few questions on how to improve performance of my program. I'm >> solving Poisson's equation on a (large) 3D FD grid with Dirichlet boundary >> conditions and multiple

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, &faces"; > 2. Getting the vertices of every face of the cell

Re: [petsc-users] Some general questions

2017-05-12 Thread Dave May
On 12 May 2017 at 07:50, Matt Baker wrote: > Hello, > > > I have a few questions on how to improve performance of my program. I'm > solving Poisson's equation on a (large) 3D FD grid with Dirichlet boundary > conditions and multiple right hand sides. I set up the matrix and > everything's working