[petsc-users] working with different size of arrays in a single DA

Jed Brown jed at 59A2.org
Sat Apr 30 10:45:06 CDT 2011


On Sat, Apr 30, 2011 at 13:17, ilyas ilyas <ilyascfd at gmail.com> wrote:

> I guess the thing that makes it complicated application of boundary
> conditions.
> Since XYZGHOSTED is not available in fortran,
> I am using XYZPERIODIC in order to implement bc's, as it is done in ex31.c
> in SNES
> Combining XYZPERIODIC with larger block size is still not much clear for
> me.
>
> By the way, what is the current status of DMDACreate3D
> and other DMDA routines and their fortran support ?
> According to ex11f90.F and ex22f.F in the manual page of DMDACreate3d ,
> these routine(s) provide ghost cell support for fortran in 3D ?
> If ghost cell support is available, implementation would be relatively easy
>

There is Fortran support for periodic boundaries. Also, petsc-dev has
support for ghost cells even when they do not imply any wrapping,
see DMDA_BOUNDARY_GHOST.

http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/DM/DMDACreate3d.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110430/2217d210/attachment.htm>


More information about the petsc-users mailing list