SetDirectory["/home/adakkak/class/REU/mathlink/fluidzMathlink"];

link = Install["fluidzMathlink"];
ConnectToServer[9093, "130.126.108.215"];
SendEnvironmentVariables[];
(* DIM is defined in the C Program as a global variable *)
DIM = 25^2;

For[i = 1, i < Sqrt[DIM], i = i +1,
	particles = GetNewFrame[];
	(* 
      Generate an array of tuples each containing the (x,y) 
     coordinates of the particles
	*)
	particles2d = Partition[particles, 2];
]
ListPlot[particles2d]

ListPlot[particles2d]

AddForces[10, 1, 6.0, 6.0];

SendRequestToTerminate[];