[petsc-users] setting up DA matrix for 3D periodic domain

Jed Brown jed at 59A2.org
Sun Apr 24 08:02:46 CDT 2011


On Sun, Apr 24, 2011 at 14:31, ilyas ilyas <ilyascfd at gmail.com> wrote:

> According to this explanation, If I would set up a matrix for 3D periodic
> domain using DAs with DA_ XYZPERIODIC,
> The code segment given below could handle periodicity "without specifying
> boundary information within the loop"   ?
>

Yes, that code is fine. PETSc translates the periodic contributions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110424/404646da/attachment.htm>


More information about the petsc-users mailing list