[petsc-users] using 2 da objects.

Jed Brown jed at 59A2.org
Thu Oct 21 08:10:55 CDT 2010


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


More information about the petsc-users mailing list