diff options
author | pants <jaron@kent-dobias.com> | 2016-12-07 13:29:51 -0500 |
---|---|---|
committer | pants <jaron@kent-dobias.com> | 2016-12-07 13:29:51 -0500 |
commit | 5ba4109f0021e7b2c9c66821461742a339e07355 (patch) | |
tree | 484ff12ba10a58a21bc3048c07757bb3f4fb6f3e /src/spheres_poly/sphere.h | |
parent | cdb18338d3ae54785f311608d303420d5b47d698 (diff) | |
download | fuse_networks-5ba4109f0021e7b2c9c66821461742a339e07355.tar.gz fuse_networks-5ba4109f0021e7b2c9c66821461742a339e07355.tar.bz2 fuse_networks-5ba4109f0021e7b2c9c66821461742a339e07355.zip |
added support for hyperuniform lattices using existing hard-sphere jamming routine
Diffstat (limited to 'src/spheres_poly/sphere.h')
-rw-r--r-- | src/spheres_poly/sphere.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/spheres_poly/sphere.h b/src/spheres_poly/sphere.h new file mode 100644 index 0000000..28c64b4 --- /dev/null +++ b/src/spheres_poly/sphere.h @@ -0,0 +1,44 @@ +#ifndef SPHERE_H +#define SPHERE_H + + +#include "vector.h" + + +class sphere { + + public: + + // constructor and destructor + + sphere(); + sphere(const sphere& s); + sphere(int i_i, vector<DIM> x, vector<DIM, int> cell_i, double lutime_i, + double r_i, double gr_i, double m_i, int species_i); + ~sphere(); + + //variables + + int i; // sphere ID + + // impending event + event nextevent; // next event...can be collision or transfer + event nextcollision; // next collision if next event is transfer + // maybe nextnext event + + // past information + double lutime; // last update time + vector<DIM, int> cell; // cell that it belongs to + vector<DIM, double> x; // position + vector<DIM, double> v; // velocity + double r; // sphere radius + double gr; // sphere growth rate + double m; // sphere mass + int species; // species number (not used during the MD) + // make sure efficent in memory + + + +}; + +#endif |