diff --git a/bindings/pylibROM/__init__.py b/bindings/pylibROM/__init__.py index b8dfe3f..fd5a775 100644 --- a/bindings/pylibROM/__init__.py +++ b/bindings/pylibROM/__init__.py @@ -1 +1,5 @@ +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. + from _pylibROM import * diff --git a/bindings/pylibROM/algo/__init__.py b/bindings/pylibROM/algo/__init__.py new file mode 100644 index 0000000..5facc08 --- /dev/null +++ b/bindings/pylibROM/algo/__init__.py @@ -0,0 +1,6 @@ +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. + +# For other c++ binding modules, change the module name accordingly. +from _pylibROM.algo import * \ No newline at end of file diff --git a/bindings/pylibROM/linalg/__init__.py b/bindings/pylibROM/linalg/__init__.py new file mode 100644 index 0000000..e7c031c --- /dev/null +++ b/bindings/pylibROM/linalg/__init__.py @@ -0,0 +1,6 @@ +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. + +# For other c++ binding modules, change the module name accordingly. +from _pylibROM.linalg import * \ No newline at end of file diff --git a/bindings/pylibROM/linalg/svd/__init__.py b/bindings/pylibROM/linalg/svd/__init__.py new file mode 100644 index 0000000..745a5ce --- /dev/null +++ b/bindings/pylibROM/linalg/svd/__init__.py @@ -0,0 +1,6 @@ +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. + +# For other c++ binding modules, change the module name accordingly. +from _pylibROM.linalg.svd import * \ No newline at end of file diff --git a/bindings/pylibROM/linalg/template.__init__.py b/bindings/pylibROM/linalg/template.__init__.py deleted file mode 100644 index a5eb24b..0000000 --- a/bindings/pylibROM/linalg/template.__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# If a pure python routine is added to pylibROM.linalg module, -# rename this file to __init__.py, -# and either define/import the python routine in this file. -# This will combine both c++ bindings/pure python routines into pylibROM.linalg module. - -# For other c++ binding modules, change the module name accordingly. -from _pylibROM.linalg import * \ No newline at end of file diff --git a/bindings/pylibROM/mfem/__init__.py b/bindings/pylibROM/mfem/__init__.py index 623ac31..b772315 100644 --- a/bindings/pylibROM/mfem/__init__.py +++ b/bindings/pylibROM/mfem/__init__.py @@ -1,2 +1,4 @@ -# __init__.py is needed only for pure python routines. +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. from .Utilities import ComputeCtAB \ No newline at end of file diff --git a/bindings/pylibROM/python_utils/__init__.py b/bindings/pylibROM/python_utils/__init__.py index c126e51..907a981 100644 --- a/bindings/pylibROM/python_utils/__init__.py +++ b/bindings/pylibROM/python_utils/__init__.py @@ -1,4 +1,6 @@ -# __init__.py is needed only for pure python routines. +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. def swigdouble2numpyarray(u_swig, u_size): from ctypes import c_double diff --git a/bindings/pylibROM/utils/__init__.py b/bindings/pylibROM/utils/__init__.py new file mode 100644 index 0000000..64d0a6d --- /dev/null +++ b/bindings/pylibROM/utils/__init__.py @@ -0,0 +1,6 @@ +# To add pure python routines to this module, +# either define/import the python routine in this file. +# This will combine both c++ bindings/pure python routines into this module. + +# For other c++ binding modules, change the module name accordingly. +from _pylibROM.utils import * \ No newline at end of file diff --git a/extern/librom_scalapack.sh b/extern/librom_scalapack.sh old mode 100644 new mode 100755