[petsc-dev] DAGetMatrix

Barry Smith bsmith at mcs.anl.gov
Tue Sep 28 21:19:26 CDT 2010


On Sep 28, 2010, at 5:45 PM, Lisandro Dalcin wrote:

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

   I do not understand the question.  What about them?

  Barry

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