SpherePackingScenarioGenerator
|
00001 #ifndef LS2_Configuration_H 00002 #define LS2_Configuration_H 00003 00004 #include "algorithms/ls2/RandomPacking.h" 00005 #define NAME_LEN 256 00006 00007 namespace algorithms{ 00008 namespace ls2{ 00009 class Configuration; 00010 } 00011 } 00015 class algorithms::ls2::Configuration { 00016 00017 public: 00018 Configuration(); 00019 ~Configuration(); 00025 int read(std::string filename); 00026 //friend void RandomPacking::generate(); 00027 //private: 00028 /* 00029 * events per particle per cycle 00030 */ 00031 int eventspercycle; 00035 int N; 00039 double initialpf; 00043 double maxpf; 00047 double temp; 00051 double growthrate; 00055 double maxpressure; 00059 char readfile[NAME_LEN]; 00063 char writefile[NAME_LEN]; 00067 char datafile[NAME_LEN]; 00068 00069 double various_radius; 00070 00071 }; 00072 00073 00074 #endif