[petsc-dev] What's the point of D(A/M)GetGlobalVector?

Lisandro Dalcin dalcinl at gmail.com
Fri Aug 27 08:38:32 CDT 2010


On 27 August 2010 10:27, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> On Aug 27, 2010, at 8:13 AM, Aron Ahmadia wrote:
>
> Not to mention the various Get routines that are actually used to create
> things, such as DAGetMatrix.  Still, the idea of a pool of work vectors
> makes sense, I was just trying to wrap my head around the actual use for
> those routines.
>
>    Aron,
>     DAGetMatrix() is actually a bug and should be DACreateMatrix()   (or
> maybe better DACreateMat() while the DACreateGlobalVector() and friends
> should really be DACreateGlobalVec()).

I think you are right.

>
>     Are there others beside DAGetMatrix() that are incorrect with gets that
> should be creates?

MatGetVecs()


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list