[petsc-users] DMPlexVecGetClosure for DM forest

Matthew Knepley knepley at gmail.com
Thu Nov 9 12:22:20 CST 2017


On Thu, Nov 9, 2017 at 1:20 PM, Yann Jobic <yann.jobic at univ-amu.fr> wrote:

> Hello,
> I'm trying to access to the values of a p4est forest.
> I know how to do that by converting my forest to a DMPlex, and then use
> DMPlexVecGetClosure over the converted DM.
> However, i want to assign a label and access to the values of the forest
> directly.
>

What do you mean by "directly". p4est only has topology. We use a Section
to map points to values, just like Plex.

 Thanks,

    Matt


> Is it possible ?
> Thanks,
> Yann
>
>
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> https://www.avast.com/antivirus
>
>


-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171109/daea21e6/attachment.html>


More information about the petsc-users mailing list