petsctoolsΒΆ

petsctools provides Pythonic extensions for petsc4py and slepc4py.

Contents

  • Examples
  • PETSc C bindings
    • Demo
    • Compiling Cython code
    • Conventions used
    • Adding more functions
  • The OptionsManager and the AppContext
    • Diffusion equation with variable coefficients
    • A PC needing Python data
    • Assembling the system
    • The Options and the AppContext
    • Solving the KSP
  • petsctools
    • petsctools package

petsctools

Navigation

Contents

  • Examples
  • PETSc C bindings
  • The OptionsManager and the AppContext
  • petsctools

Related Topics

  • Documentation overview
    • Next: Examples
©2025, Imperial College London and others. | Powered by Sphinx 9.1.0 & Alabaster 1.0.0 | Page source