Interfaces like KSPSetOperators (https: //urldefense. us/v3/__https: //petsc. org/main/manualpages/KSP/KSPSetOperators/__;!!G_uCfscf7eWS!YINsVNEe8TcsVMY3AVwkS1hf46fWdiKi5JNOe9560N5QG1LPQyjMQgodivpJtg1IwxHgRR3_V3uHWG4h2AI$) have Amat and Pmat arguments.
ZjQcmQRYFpfptBannerStart
Hello,
I want to use my own custom matrix vector multiplication routine (which
will use finite difference method to calculate it). I will supply a matrix
but that matrix should be used only for preconditioner and not for matrix
vector multiplication. Is there a way to do it?
thanks
Raju.