SpherePackingScenarioGenerator
|
00001 /* 00002 * Collision.h 00003 * 00004 * Created on: 2011-6-15 00005 * Author: asu 00006 */ 00007 00008 #ifndef LS2_COLLISION_H_ 00009 #define LS2_COLLISION_H_ 00010 #include "Simulation.h" 00011 namespace algorithms{ 00012 namespace ls2{ 00013 class Collisions; 00014 00015 class Simulation; 00020 class Collisions 00021 { 00022 public: 00023 int i; 00024 Simulation *b; 00025 double ctime; 00026 int cpartner; 00027 tarch::la::Vector<DIM,int> cpartnerpboffset; 00031 Collisions(int i_i, Simulation *b_i); 00035 virtual void Operation(int j, tarch::la::Vector<DIM, int>& pboffset); 00036 }; 00037 }/* close namespace ls2 */ 00038 }/* close namespace algorithms */ 00039 #endif /* COLLISION_H_ */