Re: [petsc-users] Using MatCreateComposite with petsc4py

2024-12-03 Thread Eric Chamberland via petsc-users
Hi, great!  Thank you all for this information!  Indeed MATPYTHON cover our needs! :) Eric On 2024-12-03 01:36, Stefano Zampini wrote: Eric the python equivalent of a MATSHELL is MATPYTHON, where you are in control of the implementation of the matrix vector product and other operations,

Re: [petsc-users] Using MatCreateComposite with petsc4py

2024-12-03 Thread Stefano Zampini
Eric the python equivalent of a MATSHELL is MATPYTHON, where you are in control of the implementation of the matrix vector product and other operations, see https://urldefense.us/v3/__https://petsc.org/release/petsc4py/petsc_python_types.html*petsc-python-matrix-type__;Iw!!G_uCfscf7eWS!cBWJhNKIAga

Re: [petsc-users] Using MatCreateComposite with petsc4py

2024-12-02 Thread Pierre Jolivet
On 2 Dec 2024, at 11:15 PM, Eric Chamberland via petsc-users wrote: Hello, We were exploring the use of the MatCreateComposite function with petsc4py, but we noticed that it doesn't seem to be available in the Python interface (https://petsc.org/release/p

Re: [petsc-users] Using MatCreateComposite with petsc4py

2024-12-02 Thread Matthew Knepley
On Mon, Dec 2, 2024 at 5:14 PM Eric Chamberland via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hello, > > We were exploring the use of the MatCreateComposite function with petsc4py, > but we noticed that it doesn't seem to be available in the Python interface > (https://urldefense.us/v3/__htt