[petsc-users] DASetCoordinates
Jed Brown
jed at 59A2.org
Tue Sep 28 16:22:29 CDT 2010
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