Diploma Thesis Percolation Simulation C++ Sourcecode Documentation |
00001 // batch.h 00002 // 00003 // sequentiell simulations 00004 // 00005 // (c) 2000 Andreas Krueger 00006 // Version 1.0 00007 // last change: 16.11.2000 00008 00009 namespace starters { 00010 00011 00012 // 2dim, 2,500 - 320,000 00013 // 13 hours on Pc_uni 00014 00015 void into_file8() { 00016 00017 srand( SEED4 ); // set the random generator to seed 4 00018 00019 int dimension; 00020 NUMBER N; 00021 00022 COUNTER ff_steps; 00023 REAL ff_from; 00024 REAL ff_to; 00025 00026 COUNTER min_loops; 00027 COUNTER additional_loops; 00028 00029 00030 dimension=2; 00031 N=2500; 00032 00033 ff_steps=20; 00034 ff_from=0.0; 00035 ff_to=2.0; 00036 min_loops=200; 00037 additional_loops=300; 00038 00039 into_file8_pt1(dimension, N, 00040 min_loops, additional_loops, 00041 ff_steps, ff_from, ff_to); 00042 00043 00044 dimension=2; 00045 N=5000; 00046 00047 ff_steps=20; 00048 ff_from=0.0; 00049 ff_to=2.0; 00050 min_loops=150; 00051 additional_loops=250; 00052 00053 into_file8_pt1(dimension, N, 00054 min_loops, additional_loops, 00055 ff_steps, ff_from, ff_to); 00056 00057 00058 00059 dimension=2; 00060 N=10000; 00061 00062 ff_steps=20; 00063 ff_from=0.0; 00064 ff_to=2.0; 00065 min_loops=100; 00066 additional_loops=200; 00067 00068 into_file8_pt1(dimension, N, 00069 min_loops, additional_loops, 00070 ff_steps, ff_from, ff_to); 00071 00072 00073 dimension=2; 00074 N=20000; 00075 00076 ff_steps=20; 00077 ff_from=0.0; 00078 ff_to=2.0; 00079 min_loops=70; 00080 additional_loops=130; 00081 00082 into_file8_pt1(dimension, N, 00083 min_loops, additional_loops, 00084 ff_steps, ff_from, ff_to); 00085 00086 00087 dimension=2; 00088 N=40000; 00089 00090 ff_steps=20; 00091 ff_from=0.0; 00092 ff_to=2.0; 00093 min_loops=50; 00094 additional_loops=100; 00095 00096 into_file8_pt1(dimension, N, 00097 min_loops, additional_loops, 00098 ff_steps, ff_from, ff_to); 00099 00100 00101 dimension=2; 00102 N=80000; 00103 00104 ff_steps=20; 00105 ff_from=0.0; 00106 ff_to=2.0; 00107 min_loops=30; 00108 additional_loops=70; 00109 00110 into_file8_pt1(dimension, N, 00111 min_loops, additional_loops, 00112 ff_steps, ff_from, ff_to); 00113 00114 00115 dimension=2; 00116 N=160000; 00117 00118 ff_steps=20; 00119 ff_from=0.0; 00120 ff_to=2.0; 00121 min_loops=20; 00122 additional_loops=80; 00123 00124 into_file8_pt1(dimension, N, 00125 min_loops, additional_loops, 00126 ff_steps, ff_from, ff_to); 00127 00128 00129 dimension=2; 00130 N=320000; 00131 00132 ff_steps=20; 00133 ff_from=0.0; 00134 ff_to=2.0; 00135 min_loops=20; 00136 additional_loops=80; 00137 00138 into_file8_pt1(dimension, N, 00139 min_loops, additional_loops, 00140 ff_steps, ff_from, ff_to); 00141 00142 00143 cout <<"This was the end of the holiday session"<<endl; 00144 cout <<"Now choose new parameters ( N < 500.000 !!! )"<<endl; 00145 cout <<"in the subroutine >>> void into_file8() <<<"<<endl<<endl;; 00146 00147 } 00148 00149 } // end of namespace starters
Diploma Thesis Sourcecode
Documentation check out the text and the executable binaries |