Go to the source code of this file.
#define PTgsdet "ssiSIiii" |
#define PTgsdeth "ssiSIRR" |
#define PTgsdvn2 "ssiiri" |
#define PTgsdvt2 "ssririi" |
#define PTgsdvx "ssiirrii" |
#define PTgsmate "isrrrriR" |
#define PTgspart "isirrriR" |
#define PTgspos "sisrrris" |
#define PTgsposp "sisrrrisiR" |
#define PTgsrotm "irrrrrr" |
#define PTgstmed "isiiirrrrrriR" |
void G3fillParams |
( |
G4String * |
tokens, |
|
|
const char * |
ptypes |
|
) |
| |
Definition at line 219 of file clparse.cc.
228 G4int i =0, ipt = 0, k = 0;
229 G4int ni =0, nr = 0, nq = 0;
230 while (ptypes[i] !=
'\0')
235 Ipar[ni] = atoi(tokens[ipt].
data());
240 Rpar[nr] = atof(tokens[ipt].
data());
244 Spar[nq] = tokens[ipt];
248 for (k=0; k <
narray; k++)
250 Ipar[ni] = atoi(tokens[ipt].
data());
255 for (k=0; k <
narray; k++)
257 Rpar[nr] = atof(tokens[ipt].
data());
265 narray = 3 * std::abs(narray);
266 for (k=0; k <
narray; k++)
268 Rpar[nr] = atof(tokens[ipt].
data());
273 for (k=0; k <
narray; k++)
275 Spar[nq] = tokens[ipt];
280 ofile <<
"unidentified ptype '" << ptypes[i] <<
G4endl;
G3G4DLL_API G4double Rpar[1000]
const XML_Char const XML_Char * data
G3G4DLL_API G4String Spar[1000]
G3G4DLL_API G4int Ipar[1000]