[petsc-users] Local vecs of a DMComposite() in F90 code

Gautam Bisht gbisht at lbl.gov
Tue Mar 25 12:29:36 CDT 2014


I was able to solve my problem by using DMCompositeGetLocalISs() and


On Mon, Mar 24, 2014 at 11:37 AM, Gautam Bisht <gbisht at lbl.gov> wrote:

> Hi,
> I'm trying to write a fortran code that uses TS with DMComposite for a
> multiphysics problem. How can I access local vectors created using a
> DMCreateGlobalVector() from a Fortran code? I tried
> DMCompositeGetLocalVectorsF90(), but I believe there isn't such a function.
> Also, what is the difference between creating vectors/matrices as nested
> versus letting DMComposite() handle the creation of vec/mat?
> Thanks,
> -Gautam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140325/22c8b912/attachment.html>

More information about the petsc-users mailing list