tcontact.h - granular - granular dynamics simulation
HTML git clone git://src.adamsgaard.dk/granular
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tcontact.h (321B)
---
1 #ifndef GRANULAR_CONTACT_
2 #define GRANULAR_CONTACT_
3
4 #include <stdlib.h>
5
6 struct contact {
7 int active;
8 size_t i, j;
9 double age;
10 double overlap;
11 double centerdist[3];
12 double tandisp[3];
13 double stress[3];
14 };
15
16 void contact_defaults(struct contact *c);
17 void contact_new(struct contact *c, size_t i, size_t j);
18
19 #endif