[petsc-users] petsc_with_c++_python

Barry Smith bsmith at petsc.dev
Wed Sep 8 08:49:44 CDT 2021


    This should be possible, not really different than using C (instead of C++). Please send the example by Aron group and we may have suggestions.

  Barry


> On Sep 8, 2021, at 6:27 AM, govind sharma <gsharma4189 at gmail.com> wrote:
> 
> Hi,
> 
> I need a 2d poisson solver such that I can use petsc objects between C++ and python interactively. I explain this way:
> 
> -->1 Let's 2D poisson solver written in C++ with petsc
> -->2 With python notebook interact with solve in parallel with petscpy
> --> IPython parallel
> 
> I have seen an example of doing this type by Aron group with C but I find it incomprehensible  to understand.
> 
> Can I get some clarification on this? How do I proceed? 
> 
> 
> Regards,
> Govind



More information about the petsc-users mailing list