[petsc-users] MatStencil / MatSetValuesStencil in petsc4py

Blaise A Bourdin bourdin at lsu.edu
Wed Apr 1 12:04:24 CDT 2015


Hi,

I notice that there is not MatSetValuesStencil in petsc4py (only MatSetValueStencil), and that the python name for MatStencil is _Mat_Stencil, so that it must be an internal type.
Is there an alternative to MatSetValuesStencil for setting values in a Mat obtained from a DMDA in petsc4py?

Regards,
Blaise


-- 
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin









More information about the petsc-users mailing list