SubSystemsManager wrapper and PETSc import tweak in pybind11

Declined
#404 · Created  · Last updated

Declined pull request

Superseded by pull request #414

Closed by: ·2017-10-14

Description

  • Wrap SubSystemsManager using pybind11

  • Fix docstrings of new pybind11 class enums

  • Prevent DOLFIN importing petsc4py [will be done later]

    Allows user to import PETSc the way he wishes. Following MWE didn't work before doesn't work. [will be solver later]

>>> from dolfin import * >>> SubSystemsManager.init_petsc(["python3", "-options_left", "-foo"]) >>> exit() -foo -options_left There is one unused database option. It is: Option left: name:-foo (no value)

0 attachments

0 comments

Loading commits...