[petsc-users] Auxiliary fields for multigrid

Matthew Knepley knepley at gmail.com
Fri Nov 17 06:54:14 CST 2017


On Thu, Nov 16, 2017 at 10:25 PM, zakaryah . <zakaryah at gmail.com> wrote:

> I have equations which depend on some external data.  I'm not sure about
> the approach for making this compatible with multigrid - i.e. making sure
> those external fields are properly refined/coarsened.  Are there PETSc
> examples that do this?
>

There are no examples, but there are hooks (DMRefineHookAdd,
DMCoarsenHookAdd) for this purpose.

  Thanks,

     Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171117/8682f45d/attachment.html>


More information about the petsc-users mailing list