Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephan Seitz
pystencils
Commits
c6648fbb
Commit
c6648fbb
authored
Jan 13, 2020
by
Stephan Seitz
Browse files
Add DiffInterpolatorAccess.__repr__
parent
ca17e888
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/interpolation_astnodes.py
View file @
c6648fbb
...
...
@@ -320,6 +320,9 @@ class DiffInterpolatorAccess(InterpolatorAccess):
return
'%s_diff%i_interpolator(%s)'
%
(
self
.
field
.
name
,
self
.
diff_coordinate_idx
,
','
.
join
(
str
(
o
)
for
o
in
self
.
offsets
))
def
__repr__
(
self
):
return
str
(
self
)
@
property
def
args
(
self
):
return
[
self
.
symbol
,
self
.
diff_coordinate_idx
,
*
self
.
offsets
]
...
...
Write
Preview
Markdown
is supported
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