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 -- Bikash S. Kanungo PhD Student Computational Materials Physics Group Mechanical Engineering University of Michigan
El 28 dic 2016, a las 21:50, Bikash Kanungo <[email protected]> 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
Thank you so much, Jose. On Wed, Dec 28, 2016 at 4:06 PM, Jose E. Roman <[email protected]> wrote:
El 28 dic 2016, a las 21:50, Bikash Kanungo <[email protected]> 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
-- Bikash S. Kanungo PhD Student Computational Materials Physics Group Mechanical Engineering University of Michigan
participants (2)
-
Bikash Kanungo -
Jose E. Roman