[petsc-users] Updating ghost mapping for an existing vector?
Jed Brown
jedbrown at mcs.anl.gov
Fri Aug 17 13:37:13 CDT 2012
On Fri, Aug 17, 2012 at 1:28 PM, Kirk, Benjamin (JSC-EG311) <
benjamin.kirk-1 at nasa.gov> wrote:
> Thanks for the reply. Probably once per time step. I'll work around it
> then by writing an in-place vector replacement function that takes the new
> ghost points and does the required copy...
>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120817/d33f06e9/attachment.html>
More information about the petsc-users
mailing list