[petsc-users] A quest about the coordinate and normal of faces at boundaries

Matthew Knepley knepley at gmail.com
Wed Nov 16 20:35:25 CST 2016


On Wed, Nov 16, 2016 at 8:17 PM, leejearl <leejearl at 126.com> wrote:

> Hi, all:
>
>     I am struggling to use PETSc for some numerical problems. I found that
> the coordinate and normal of
>
> faces at the boundary are all zeros. It seems that PETSc does not compute
> them. How can I get the coordinate
>
> and normal of faces at boundaries in PETSc, or must I compute it by myself?
>

Where did you think the data would be, or how are you trying to get this?

You can compute it using
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPlexComputeCellGeometryFVM.html

  Matt


>    Thanks
>
> leejearl
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161116/dcb5e765/attachment.html>


More information about the petsc-users mailing list