[petsc-users] using 2 da objects.

Amal Alghamdi amal.ghamdi at kaust.edu.sa
Thu Oct 21 08:17:17 CDT 2010


Thanks alot Satish and Jed!

On Thu, Oct 21, 2010 at 4:10 PM, Jed Brown <jed at 59a2.org> wrote:

> On Thu, Oct 21, 2010 at 14:55, Amal Alghamdi <amal.ghamdi at kaust.edu.sa>
> wrote:
> > Dear all,
> > I need to create 2 da objects with the same dimensions size except the
> dof
> > is not necessary the same for the two. Will PETSc always distribute the
> > cells among the processes in the same way for the 2 da objects or I might
> > get inconsistency?
>
> If you call DACreate*d with all parameters equal except for dof or
> stencil_width, then the layout will be the same.
>
> Jed
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101021/6049dec2/attachment.htm>


More information about the petsc-users mailing list