A complete Petsc interface in Python?
Hi,
I am new to Python but not new to Petsc and C++. I am trying to develop a code in Python using Fenics with Petsc as the linear algebra backend. It appears to me(maybe I am wrong) that Fenics has a rudimentary interface to Petsc. I'd like to be able to use several of the features of Petsc.
I know there exists the down_cast option....I know this returns the C++ pointer of the Petsc object but I am not sure how I could use that in Python. One alternative is to use the Petsc4py interface http://
I'd appreciate suggestions to resolve this issue . Or you could tell me I'm wrong and all petsc options are accessible via fenics :) Otherwise I might reluctantly have to program in C++. Thanks in advance,
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Arvind Krishna for more information if necessary.