[petsc-dev] EM solver in XGC

Matthew Knepley knepley at gmail.com
Tue Apr 14 22:05:07 CDT 2015

On Tue, Apr 14, 2015 at 9:59 PM, Mark Adams <mfadams at lbl.gov> wrote:

> I am trying to see why MatConvert is failing for MatNest to MPIAIJ and
> added print statements in to see what it is checking for.
> Where is the function list created for MatNest?  I am grepping on
> MatConvert_[n/N] and not finding anything other than:

The person who added that code declined to hook it into the function table,
set at the bottom of matnest.c. This does not bode well.

MatNest should never ever ever be used as a dependency. Its an
optimization. At least this is my view.


> 21:54 next ~/Codes/petsc$ git grep MatConvert_N
> src/mat/impls/nest/matnest.c:#define __FUNCT__ "MatConvert_Nest_AIJ"
> src/mat/impls/nest/matnest.c:PETSC_EXTERN PetscErrorCode
> MatConvert_Nest_AIJ(Mat A,MatType newtype,MatReuse reuse,Mat *newmat)
> 21:57 next ~/Codes/petsc$ git grep MatConvert_n
> 21:57 1 next ~/Codes/petsc$
> Mark

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150414/f0eaae28/attachment.html>

More information about the petsc-dev mailing list