[petsc-users] Storing solution on faces using DMDA

Matthew Knepley knepley at gmail.com
Sat Mar 17 06:30:19 CDT 2018


On Sat, Mar 17, 2018 at 12:37 AM, Praveen C <cpraveen at gmail.com> wrote:

> Dear all
>
> Is it possible to store solution variables on faces of a cartesian mesh
> using DMDA ?
>

You do this by imagining that you have shifted the grid a half step.


> Also is there support for quadtree/octree type meshes as in p4est ?
>

Yes, in DMForest.

  Thanks,

     Matt


> Thank you
> praveen
>



-- 
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/20180317/707fc47b/attachment.html>


More information about the petsc-users mailing list