[petsc-users] question about DA

Jed Brown jedbrown at mcs.anl.gov
Sat Aug 27 15:53:58 CDT 2011


On Sat, Aug 27, 2011 at 15:49, Likun Tan <likunt at andrew.cmu.edu> wrote:

> I attached my code again, p was used in defining temp and H, when defining
> S, we don't need p and zs:
>

You need p to know the limits of the integral. You need that the domain not
be decomposed in the z direction if you are going to integrate without doing
communication. You still haven't shown us how the DAs were constructed or
what the returned values for (xs,ys,zs,m,n,p) were when got them from da3D
and what (xs,ys,m,n) were when you got them from da2D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110827/4043bfde/attachment-0001.htm>


More information about the petsc-users mailing list