On Thu, Nov 16, 2017 at 10:25 PM, zakaryah . <zakar...@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/>

Reply via email to