[petsc-users] DASetCoordinates

Jed Brown jed at 59A2.org
Tue Sep 28 17:19:10 CDT 2010


On Wed, Sep 29, 2010 at 00:14, Randall Mackie <rlmackie862 at gmail.com> wrote:
> Okay, thanks for that answer.
>
> Maybe I'm just being dense, but I don't see how or where I set these at each level within
> the DMMG framework.  Isn't all that buried within the DMMG routines, or is there some
> way for me to specify this?

It's kinda raw:

    for (i=0; i<DMMGGetLevels(dmmg); i++) {
      DA da = (DA)dmmg[i]->dm;
      /* Set coordinates */
    }


More information about the petsc-users mailing list