[petsc-dev] DAGetMatrix

Barry Smith bsmith at mcs.anl.gov
Tue Sep 28 15:39:58 CDT 2010




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.


   Barry





More information about the petsc-dev mailing list