67 double lx,
double dx )
71 for (i=0; i<size; ++i)
72 vect[i] =
shoot(lx,dx);
76 const int size,
double* vect,
77 double lx,
double dx )
81 for (i=0; i<size; ++i)
82 vect[i] =
shoot(anEngine,lx,dx);
89 for (i=0; i<size; ++i)
94 double lx,
double dx )
98 for (i=0; i<size; ++i)
99 vect[i] =
fire( lx, dx );
126 char inputword[] =
"NO_KEYWORD ";
130 if (strcmp(inputword,
"RANDFLAT")==0)
break;
131 if (infile.eof())
break;
140 if (strcmp(inputword,
"RANDFLAT")==0) {
155 int pr=os.precision(20);
156 std::vector<unsigned long>
t(2);
157 os <<
" " <<
name() <<
"\n";
158 os <<
"Uvec" <<
"\n";
161 os <<
defaultWidth <<
" " << t[0] <<
" " << t[1] <<
"\n";
163 os <<
defaultA <<
" " << t[0] <<
" " << t[1] <<
"\n";
165 os <<
defaultB <<
" " << t[0] <<
" " << t[1] <<
"\n";
173 if (inName !=
name()) {
174 is.clear(std::ios::badbit | is.rdstate());
175 std::cerr <<
"Mismatch when expecting to read state of a "
176 <<
name() <<
" distribution\n"
177 <<
"Name found was " << inName
178 <<
"\nistream is left in the badbit state\n";
182 std::vector<unsigned long>
t(2);
188 is.clear(std::ios::badbit | is.rdstate());
189 std::cerr <<
"\nRandFlat input failed"
190 <<
"\nInput stream is probably mispositioned now." << std::endl;
203 int prec = os.precision(20);
214 is.clear(std::ios::badbit | is.rdstate());
215 std::cerr <<
"Mismatch when expecting to read static state of a "
217 <<
"Name found was " << inName
218 <<
"\nistream is left in the badbit state\n";
225 if (keyword!=
"RANDFLAT") {
226 is.clear(std::ios::badbit | is.rdstate());
227 std::cerr <<
"Mismatch when expecting to read RANDFLAT bit cache info: "