[petsc-users] Shell matrix in BVOrthogonalize

Jose E. Roman jroman at dsic.upv.es
Wed Dec 28 15:06:29 CST 2016


> El 28 dic 2016, a las 21:50, Bikash Kanungo <bikash at umich.edu> escribió:
> 
> Hi,
> 
> I have been using BVOrthogonalize in SLEPc with a symmetric positive definite matrix (say B) in my BVSetMatrix. I was wondering if I can create a shell matrix for B and use it to overload the MatMult operations. If yes, what MATOPs like MATOP_MULT, MATOP_MULT_TRANSPOSE, MATOP_GET_DIAGONAL should I provide? 
> 
> Thanks,
> Bikash   
> 

Yes, it should be enough to provide MATOP_MULT.
Jose




More information about the petsc-users mailing list