Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
b181b832
Commit
b181b832
authored
Oct 26, 2021
by
Timo Koch
Committed by
Timo Koch
Oct 26, 2021
Browse files
[python] Expect discretization tags instead of the deprecated enum
parent
88c2267b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/python/discretization/gridgeometry.hh
View file @
b181b832
...
...
@@ -152,7 +152,7 @@ void registerGridGeometry(pybind11::handle scope, pybind11::class_<GG, Options..
cls
.
def_property_readonly
(
"gridView"
,
&
GG
::
gridView
);
cls
.
def_property_readonly_static
(
"discMethod"
,
[](
const
pybind11
::
object
&
){
return
toString
(
GG
::
discMethod
);
return
GG
::
discMethod
.
name
(
);
});
cls
.
def_property_readonly
(
"localView"
,
[](
GG
&
self
){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment