SpherePackingScenarioGenerator
|
00001 #ifndef ReadInput_H 00002 #define ReadInput_H 00003 00004 #include "algorithms/ls/RandomPacking.h" 00005 #define NAME_LEN 256 00006 00007 namespace algorithms{ 00008 namespace ls{ 00009 class ReadInput; 00010 } 00011 } 00015 class algorithms::ls::ReadInput { 00016 00017 public: 00023 int read(std::string filename); 00024 friend void RandomPacking::generate(); 00025 private: 00026 /* 00027 * events per particle per cycle 00028 */ 00029 int eventspercycle; 00033 int N; 00037 double initialpf; 00041 double maxpf; 00045 double temp; 00049 double growthrate; 00053 double maxpressure; 00057 char readfile[NAME_LEN]; 00061 char writefile[NAME_LEN]; 00065 char datafile[NAME_LEN]; 00066 00067 00068 }; 00069 00070 00071 #endif