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

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


On 27 August 2010 10:47, Jed Brown <jed at 59a2.org> wrote:
>
>  It also helps (me)
> to clarify intent: if I see a Get, then I know the vector is temporary
> without needing to check for a matching Destroy.
>

You need a matching Restore()


-- 
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