[petsc-users] DASetCoordinates

Randall Mackie rlmackie862 at gmail.com
Tue Sep 28 13:59:26 CDT 2010


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?

2) Is it called at each level?

3) Or is it just called for the finest grid?


Thanks, Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100928/7c24046c/attachment.htm>


More information about the petsc-users mailing list