SubSystemsManager wrapper and PETSc import tweak in pybind11
Jan Blechta
Branch: jan/pybind11-subsystemsmanager
Branch: master
Declined
Declined pull request
Superseded by pull request #414
Closed by: Jan Blechta·2017-10-14
Superseded by pull request #414
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)