[petsc-users] Getting DMDA local coordinates

Jed Brown jedbrown at mcs.anl.gov
Mon Oct 21 08:34:09 CDT 2013


Great. Looking forward to your example.
On Oct 21, 2013 8:25 AM, "Åsmund Ervik" <asmund.ervik at ntnu.no> wrote:

>
>
> On 21. okt. 2013 15:13, Jed Brown wrote:
> >
> > Okay, but this has no spatial derivatives?
>
> Correct. But the code is written such that (in our framework) a legacy
> serial code which has spatial derivatives in the RHS can be plugged
> straight in. I don't have any code that I can share with the world that
> includes spatial derivatives in the RHS though. I guess the heat
> equation would be fairly straight-forward.
>
> >
> > Whatever you like.  Note that there are already some related examples in
> > src/ts/examples/tutorials/advection-diffusion-reaction/
> >
>
> Yes, I've seen them, but since they include TS stuff like IMEX etc.,
> they're a bit more complicated for a PETSc noobie. It's sometimes hard
> to know which bits are TS specific and which are DM specific (although I
> must say that PETSc has remarkably good organization and "namespacing").
> That's why I wrote the example for my own sake and for my colleagues.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131021/791cb018/attachment.html>


More information about the petsc-users mailing list