On Mon, Jan 16, 2012 at 02:16, Klaij, Christiaan <C.Klaij at marin.nl> wrote:
> Is it possible to use DMDAs in the context of a cell-centered > finite volume method? For example, a 2D grid with 9-by-9 grid > points would have 8-by-8 unknowns, located in the cell > centers. After reading the documentation, I got the impression > that the unknowns must be situated at the grid points, or am I > mistaken? > Just make an 8x8 grid. Geometric refinement and coarsening is a little more delicate. I have used the hack of saying that the grid is periodic so that refinement is to 2n instead of 2n-1. You might want to use Q0 interpolation in this case. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120116/c0735b45/attachment.htm>
