[petsc-users] Automatic partition of Cartesian grids
Jed Brown
jedbrown at mcs.anl.gov
Fri Nov 11 08:30:48 CST 2011
On Fri, Nov 11, 2011 at 08:26, TAY wee-beng <zonexo at gmail.com> wrote:
> However, it seems that there are better ways to do it to get a more
> balanced load. Do I use DMDA in PETSc to do it? I'm now using staggered
> Cartesian grids for my u,v,p. Is there an example to construct a
> Laplace/Poisson equation using DMDA?
>
src/snes/examples/tutorials/ex5.c (Bratu problem, simple nonlinearity added
to Poisson)
See also
src/snes/examples/tutorials/ex50.c (thermal/lid-driven cavity)
>
> It is mentioned in the manual that DMMG infrastructure will be replaced in
> the next release and we should not use it. Is this related to DMDA?
>
DMMG used DM (the algebraic interface implemented by DMDA). DMDA is
recommended, but don't write new code with DMMG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111111/8be70d3c/attachment.htm>
More information about the petsc-users
mailing list