[petsc-users] DM and HDF5 Viewer

Gianluca Meneghello gianmail at gmail.com
Thu Jul 16 12:34:39 CDT 2015


It is square. If so, I will use DMCreateGlobalVector.

Thanks!

Gianluca

On Thu, Jul 16, 2015 at 9:25 AM, Jed Brown <jed at jedbrown.org> wrote:

> Gianluca Meneghello <gianmail at gmail.com> writes:
>
> > I need both right and left vectors for use in a SLEPc SVD decomposition;
> it
> > is my understanding that the correct layout is obtained with
> MatCreateVecs
> > and that only the layout for the right vector is created with
> > DMCreateGlobalVector.
>
> Do you have a non-square matrix?  If so, is the left vector associated
> with a different DM?
>
> > Or I might be wrong and there is actually no difference! If so I will
> > use DMCreateGlobalVector
> > without any problem
>
> If the system is square, DMCreateGlobalVector should be correct.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150716/ff36cac6/attachment.html>


More information about the petsc-users mailing list