Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (20 sloc) 257 Bytes
dt = 0.01;
totalTime = 1;
Particle A {
posx = 0;
posy = 0;
posz = 0;
velocityx = 0;
velocityy = 0;
velocityz = 0;
mass = 10;
}
Particle B {
posx = 1;
posy = 0;
posz = 0;
velocityx = 0;
velocityy = 10;
velocityz = 0;
mass = 1;
}