[petsc-users] Updating ghost mapping for an existing vector?
Jed Brown
jedbrown at mcs.anl.gov
Fri Aug 17 10:49:43 CDT 2012
On Fri, Aug 17, 2012 at 10:47 AM, Kirk, Benjamin (JSC-EG311) <
benjamin.kirk-1 at nasa.gov> wrote:
> Hello -
>
> I've got a contact problem with moving unstructured meshes. The issue here
> is that the required ghost indices can change during the course of a
> simulation. Is there a mechanism to reset the ghost indices for an
> existing
> Vec object?
>
It can't be done at the system level without reallocation (assuming the
number of ghost points has changed). This is a weakness of using ghost
vectors compared to explicit local work vectors. How often do you want to
do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120817/32f2ac93/attachment.html>
More information about the petsc-users
mailing list