[petsc-users] DASetCoordinates
Randall Mackie
rlmackie862 at gmail.com
Tue Sep 28 17:14:12 CDT 2010
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?
Thanks, Randy
On Sep 28, 2010, at 2:22 PM, Jed Brown wrote:
> On Tue, Sep 28, 2010 at 20:59, Randall Mackie <rlmackie862 at gmail.com> wrote:
>> I'm trying to use the DMMG structure to do multi-grid as a preconditioner.
>> My grids have non-uniform
>> spacing. I can compute the non-uniform spacing at each level, and I assume I
>> can get that information
>> to the multigrid solver using DASetCoordinates. I also assume that this is
>> needed to correctly compute
>> the matrices that allow you to go from one level to another. My questions
>> are:
>>
>> 1) Where exactly should DASetCoordinates be called?
>
> You will have to call it at every level, DARefine and DACoarsen do not
> currently interpolate coordinates. Maybe they should?
>
> Jed
More information about the petsc-users
mailing list