[petsc-dev] DAGetMatrix

Lisandro Dalcin dalcinl at gmail.com
Tue Sep 28 17:45:58 CDT 2010


On 28 September 2010 17:39, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>
>
> On Sep 27, 2010, at 2:52 PM, Lisandro Dalcin wrote:
>
>> DAGetMatrix(da,&mat,"shell") or DAGetMatrix(da,&mat,"python") or any
>> other matrix type the DA does not know generate an error. Could this
>> be changed to returning a matrix with the proper local&global sizes
>> and type set ?
>
>  Done but not tested, let me know if you have any problems. Note that the local sizes are set but for unknown matrix times I am not sure if they will always automatically compute the global sizes. Please report problems.
>

What about MatView and MatLoad?


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