<div class="gmail_quote">On Fri, Aug 17, 2012 at 1:28 PM, Kirk, Benjamin (JSC-EG311) <span dir="ltr"><<a href="mailto:benjamin.kirk-1@nasa.gov" target="_blank">benjamin.kirk-1@nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":2fy">Thanks for the reply. Probably once per time step. I'll work around it<br>
then by writing an in-place vector replacement function that takes the new<br>
ghost points and does the required copy...</div></blockquote></div><br><div>When I visited Idaho last week, we discussed an interface for dynamic AMR using PETSc TS. I plan to implement that sometime this fall. In any case, if you have to reallocate the matrix due to different sparsity pattern, it's not a big deal to just SNESReset() and replace the vectors as well.</div>