[petsc-users] Stencil width for a 13 point 4th order stencil

Barry Smith bsmith at mcs.anl.gov
Mon Sep 22 16:18:18 CDT 2014


  You should not need to provide the same information elsewhere. Please send the entire error message.

On Sep 22, 2014, at 4:02 PM, Alletto, John M <john.m.alletto at lmco.com> wrote:

> All,
>  
> I have two code baseline one uses a standard 7 point STAR stencil the other a 13 point Star stencil.
>  
> The first baseline works the second comes back with errors MatSetValuesStencil
> Argument out of range
>  
> In the second baseline I have a fourth order 13 point stencil which spans +- 2 in all direction from each 3D point of my data set.
>  
> stw = 2
> I set the width in  DMDACreate3d( ….dof,stw, 0, 0, 0, &da)
>  
> Does a larger stencil need to be quantified or declare in another location?
>  
> John



More information about the petsc-users mailing list