Hello, I am working on adaptive moving mesh problems. Therefore, the petsc vector size is constantly changing. The way I am currently dealing with this change is destroy the petsc vector first with VecDestroy() and create a new vector with VecCreateGhost(). But I think this is not a really efficient way. So I am wondering if there is any way to resize the existing PetscVector dynamically.
Thank you for your time. Kind Regards, Shidi