[petsc-users] [petsc4py] Python equivalent of KSPSetComputeRHS

Francesco Caimmi francesco.caimmi at polimi.it
Sun Jul 12 05:52:48 CDT 2015


Dear All, 

I am struggling to find a way to access the functions KSPSetComputeRHS and 
KSPSetComputeOperators using petsc4py. 
I cannot see these functions under PETSc.KSP()....
Has this something to do with ksp.setPythonContext()? Or the setPythonContext 
function that is also available for matrices and vectors?

Thanks,
-- 
Francesco Caimmi
 
Laboratorio di Ingegneria dei Polimeri
http://www.chem.polimi.it/polyenglab/

Politecnico di Milano - Dipartimento di Chimica,
Materiali e Ingegneria Chimica “Giulio Natta”

P.zza Leonardo da Vinci, 32
I-20133 Milano
Tel. +39.02.2399.4711
Fax +39.02.7063.8173

francesco.caimmi at polimi.it
Skype: fmglcaimmi (please arrange meetings by e-mail)
GPG Public Key : http://goo.gl/64dDo


More information about the petsc-users mailing list