CELMA-project / bout_runners

Manage your BOUT++ runs through python
https://bout-runners.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
1 stars 2 forks source link

Redo integration test in 35_bundles #89

Closed loeiten closed 4 years ago

loeiten commented 4 years ago

Due to code refactor

loeiten commented 4 years ago

Snippet for example graph

import networkx as nx
g = nx.DiGraph()

for i in range(10):
    g.add_node(i, status="ready")

# Pre processors to 0
g.add_edge(1, 0)
g.add_edge(2, 0)

# Post processors from 0
g.add_edge(0, 3)
g.add_edge(0, 4)

g.add_edge(0, 6)
g.add_edge(0, 7)

# Pre processors to 5
g.add_edge(6, 5)
g.add_edge(7, 5)
g.add_edge(9, 5)

# Post processors to 5
g.add_edge(5, 8)

# Pre processor to 10
g.add_edge(7, 10)
g.add_edge(9, 10)

# Post processor to 10
g.add_edge(10, 8)

print(nx.nx_pydot.to_pydot(g))