#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 x, vector 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 cell; // cell that it belongs to vector x; // position vector 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