Skip to content
Snippets Groups Projects
Commit c7d41845 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Also add TimeloopRuns

parent c3720d73
Branches
No related tags found
No related merge requests found
Pipeline #20250 passed
......@@ -110,6 +110,7 @@ class GraphDataHandling(pystencils.datahandling.SerialDataHandling):
argument_list = [argument_list]
def run(self, time_steps=1):
self.parent.call_queue.append(TimeloopRun(self, time_steps))
super().run(time_steps)
def __init__(self, *args, **kwargs):
......
......@@ -71,3 +71,6 @@ def test_graph_datahandling():
opt_params = {'target': 'gpu', 'gpu_indexing_params': {'block_size': (8, 4, 2)}}
lbm_step: LatticeBoltzmannStep = ldc_setup(domain_size=(10, 15), optimization=opt_params)
print(lbm_step._data_handling)
# Hier stehen alle aufgerufenen Aktionen drinnen. Die Klassen kommen aus pystencils.datahandling.graph_datahandling
print(lbm_step._data_handling.call_queue)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment