source:
proiecte/NBody/PlummerModel/Model.h
@
160
Last change on this file since 160 was 160, checked in by , 14 years ago | |
---|---|
File size: 230 bytes |
Rev | Line | |
---|---|---|
[160] | 1 | #define PI 3.14159265359 |
2 | #define FILE_NAME "out.txt" | |
3 | ||
4 | typedef struct{ | |
5 | double mass; //mass of a particle | |
6 | double pos[3]; //pos of a particle (3D coordinate) | |
7 | double vel[3]; //velocity of a particle (3D coordinate) | |
8 | }body; |
Note: See TracBrowser
for help on using the repository browser.