> On Feb 23, 2015, at 3:45 PM, Andrew Spott <[email protected]> wrote:
> 
> It looks like this function doesn’t exist, but it should be pretty easy to 
> write.
> 
> A few questions:
> 
> - Does a new MatType need to be created? or will MATTRANSPOSEMAT work?
> - Is there any way to write this from outside of the PETSc library proper?
>  Initial examination makes it seem like it isn’t possible, because _p_Mat is 
> an incomplete type after the library has been built.

   The directory include/petsc-private/matimp.h is always provided with a PETSc 
installation so though _p_Mat  is "private" to PETSc you can extend PETSc "out 
side of the library proper".

   Barry

> - Is this a good idea?  Or should a MatShell just be made?
> 
> -Andrew
> 

Reply via email to