Skip to content

Commit

Permalink
adding new mphys wrapper and removing the old openmdao wrappers (#196)
Browse files Browse the repository at this point in the history
* adding new mphys wrapper and removing the old openmdao wrappers

* flake fixes

* more flake fixes

* black fix

* use setuptools.find_packages

* added mphys wrapper dependencies in extras_require

Co-authored-by: Neil Wu <[email protected]>
  • Loading branch information
anilyil and ewu63 authored Apr 3, 2022
1 parent 25b5dfa commit bee3f4b
Show file tree
Hide file tree
Showing 9 changed files with 1,283 additions and 694 deletions.
12 changes: 0 additions & 12 deletions adflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,3 @@
from .pyADflow_C import ADFLOW_C
from .oversetCheck import OversetCheck
from .checkZipper import checkZipper


try:
import openmdao
except ImportError as err:
openmdao = None

if MPI.COMM_WORLD.rank == 0:
print("Warning: OpenMDAO dependency is not installed. OM_ADFLOW wrapper will not be active")

if openmdao is not None:
from .om_adflow import OM_ADFLOW
3 changes: 3 additions & 0 deletions adflow/mphys/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .mphys_adflow import ADflowBuilder

__all__ = ["ADflowBuilder"]
Loading

0 comments on commit bee3f4b

Please sign in to comment.