[petsc-users] DASetCoordinates

Randall Mackie rlmackie862 at gmail.com
Tue Sep 28 18:32:53 CDT 2010


On Sep 28, 2010, at 3:19 PM, Jed Brown wrote:

> 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 */
>    }

Thanks Jed.  One more question: how the heck do I get the (DA)dmmg[i]-> if
my code is in Fortran?


Randy



More information about the petsc-users mailing list