Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tom Harke
pystencils
Commits
4ae9e360
Commit
4ae9e360
authored
Apr 04, 2019
by
Julian Hammer
Browse files
considering loop step length to be one for kerncraft
parent
a3cb1634
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/kerncraft_coupling/kerncraft_interface.py
View file @
4ae9e360
...
...
@@ -59,7 +59,8 @@ class PyStencilsKerncraftKernel(kerncraft.kernel.KernelCode):
while
cur_node
is
not
None
:
if
isinstance
(
cur_node
,
LoopOverCoordinate
):
loop_counter_sym
=
cur_node
.
loop_counter_symbol
loop_info
=
(
loop_counter_sym
.
name
,
cur_node
.
start
,
cur_node
.
stop
,
cur_node
.
step
)
loop_info
=
(
loop_counter_sym
.
name
,
cur_node
.
start
,
cur_node
.
stop
,
1
)
# cur_node.step)
self
.
_loop_stack
.
append
(
loop_info
)
cur_node
=
cur_node
.
parent
self
.
_loop_stack
=
list
(
reversed
(
self
.
_loop_stack
))
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment