#include "box.h" #include #include #include #include #include "vector.h" //============================================================== //============================================================== // Class Sphere: //============================================================== //============================================================== //============================================================== // Constructor //============================================================== sphere::sphere() { } //============================================================== // Constructor //============================================================== sphere::sphere(const sphere& s) { i = s.i; x = s.x; v = s.v; cell = s.cell; lutime = s.lutime; nextevent = s.nextevent; nextcollision = s.nextcollision; } //============================================================== // Constructor //============================================================== sphere::sphere(int i_i, vector x_i, vector cell_i, double lutime_i): i(i_i), x(x_i), cell(cell_i), lutime(lutime_i) { } //============================================================== // Destructor //============================================================== sphere::~sphere() { }