Skip to content

Instantly share code, notes, and snippets.

@cstein
Created May 3, 2012 07:23
Show Gist options
  • Save cstein/2583990 to your computer and use it in GitHub Desktop.
Save cstein/2583990 to your computer and use it in GitHub Desktop.
updating particle coordinates
for i in range(npart)
X[i] = X[i] + dt*dX[i]
Y[i] = Y[i] + dt*dY[i]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment