Re: [petsc-users] dmplex face normals orientation

2017-04-18 Thread Matthew Knepley
On Tue, Apr 18, 2017 at 2:33 PM, Ingo Gaertner wrote: > The part that does not make sense is: > The code calculates that > face 11 (or edge 11 if you call the boundary of a 2D cell an edge) has the > centroid c=(0.75 1.00 0.00) and the normal n=(0.00

Re: [petsc-users] dmplex face normals orientation

2017-04-18 Thread Matthew Knepley
On Tue, Apr 18, 2017 at 12:46 AM, Ingo Gaertner wrote: > Dear Matt, > please explain your previous answer ("The normal should be outward, unless > the face has orientation < 0") with respect to my example. > As I think, the example shows that the face normals for

Re: [petsc-users] Partitioning does not work

2017-04-18 Thread Lawrence Mitchell
> On 15 Apr 2017, at 22:31, Barry Smith wrote: > > > The DMPlex experts and point you in the correct direction. > > >> On Apr 15, 2017, at 4:28 PM, Orxan Shibliyev wrote: >> >> About partitioning of DMPlex, manual says that, >> >> In exactly