[petsc-users] How to map global vector to natural vector
Xu, Donghui
donghui.xu at pnnl.gov
Tue Oct 21 09:46:24 CDT 2025
Dear PETSc Team,
I am working with petsc4py for my model. I had some experience of using PETSc in Fortran. In Fortran, I used the following subroutines:
call DMPlexCreateNaturalVector(dm, natural, ierr)
call DMPlexNaturalToGlobalBegin(dm,natural,X,ierr)
call DMPlexNaturalToGlobalEnd(dm,natural,X,ierr)
However, I found there are no such interfaces in petsc4py. Can you advise me on how to get the global vector in natural order with DMPLEX in petsc4py?
Thanks,
Donghui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20251021/565ef0aa/attachment-0001.html>
More information about the petsc-users
mailing list