Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
bb018365
Commit
bb018365
authored
3 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[python] Try to register dumux as external module (dune 2.9)
parent
bc85175d
No related branches found
No related tags found
1 merge request
!2934
[python] Make bindings work with dune 2.9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dumux/__init__.py
+9
-0
9 additions, 0 deletions
python/dumux/__init__.py
with
9 additions
and
0 deletions
python/dumux/__init__.py
+
9
−
0
View file @
bb018365
...
...
@@ -9,3 +9,12 @@ DuMux is
https://dumux.org/
"""
try
:
from
dune.common
import
registerExternalModule
# register dumux to be recognized by dune-py (code generation module)
# as a module of the dune univers
registerExternalModule
(
"
dumux
"
)
except
ImportError
:
pass
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment