DA periodic

Matthew Knepley knepley at gmail.com
Wed Dec 6 22:29:49 CST 2006

On 12/6/06, Jianing Shi <js2615 at columbia.edu> wrote:
> I have a question about the usage of periodic DA.
> 1) In function DACreate2d( ), there is an argument about
> DAPeriodicType. I assume the mentioned periodicity is for the
> global array, not for local grid?


> 2) If I use the periodic type for DA, together with SNES to solve a
> system, when I implement the FormFunctionLocal, I need to
> explicitly implement the boundary conditions?  Or does DA periodic
> type has some built-in functionality?

I am not sure what boundary conditions you mean. If it is periodic,
there should be no conditions on that boundary.


> Thanks,
> Jianing
"Failure has a thousand explanations. Success doesn't need one" -- Sir
Alec Guiness

More information about the petsc-users mailing list