On Thu, Sep 6, 2018 at 6:04 PM Sepideh Kavousi <[email protected]> wrote:
> Hello,
>
> I have a Petsc code solving PDE using FD method, and I generated the
> structures grid with DMDA. I was planning to implement adaptive mesh
> refinement to the same structures mesh but the documentation on the
> DMForest is not easy to find. I checked the
> petsc/src/dm/impls/forest/examples/tutorials but I found one tutorial
> which did not have so much information. I also found
> src/ts/examples/tutorials/ex11.c but it was for DMPlex, and finite volume
> method.
>
> I wonder if there is another example for DMForest?
>
>
TS ex11 works for Plex or Forest.
Thanks,
Matt
> Thanks,
>
--
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.cse.buffalo.edu/~knepley/>