What arguments are you referring to?
PetscErrorCode DMDACreate2d(MPI_Comm comm,DMBoundaryType bx,DMBoundaryType
by,DMDAStencilType stencil_type,
PetscInt M,PetscInt N,PetscInt m,PetscInt n,PetscInt
dof,PetscInt s,const PetscInt lx[],const PetscInt ly[],DM *da)
the argument s is the stencil width and depends on the finite difference
stencil you want to use. There is no da_overlap argument.
Barry
> On Jun 24, 2016, at 4:17 PM, Xiangdong <[email protected]> wrote:
>
> Hello everyone,
>
> I have a quick question. What is the relationship between da_overlap and the
> width parameter in dmdacreate2d?
>
> From the examples, it seems that width=1 works with da_overlap=4. Could you
> please explain the relationship or point me to a reference page?
>
> Thanks.
>
> Xiangdong