Skip to content

Commit

Permalink
Update NetDynamics.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nolte committed Feb 4, 2021
1 parent 423fcb7 commit b5bbb03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NetDynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
facoef = 3
m = 6
n = 6
nodecouple = nx.grid_2d_graph(m, n, periodic=False)
nodecouple = nx.grid_2d_graph(m, n, periodic=True)
N = nodecouple.number_of_nodes()

plt.figure(1)
Expand Down Expand Up @@ -145,7 +145,7 @@ def flow_deriv(y,t0):
x_t = integrate.odeint(flow_deriv, x_y_z, t)
x0 = x_t[tsettle-1,0:N]

t = np.linspace(0,2000,2000)
t = np.linspace(0,1000,1000)
y = integrate.odeint(flow_deriv, x0, t)
siztmp = np.shape(y)
sy = siztmp[0]
Expand Down

0 comments on commit b5bbb03

Please sign in to comment.