122 |
|
|
123 |
|
//get lattice type |
124 |
|
latticeType = UpperCase(args_info.latticetype_arg); |
125 |
< |
|
126 |
< |
|
127 |
< |
simpleLat = LatticeFactory::getInstance()->createLattice(latticeType); |
128 |
< |
if (simpleLat == NULL) { |
129 |
< |
sprintf(painCave.errMsg, "Lattice Factory can not create %s lattice\n", |
130 |
< |
latticeType.c_str()); |
131 |
< |
painCave.isFatal = 1; |
132 |
< |
simError(); |
133 |
< |
} |
134 |
< |
|
125 |
> |
|
126 |
|
//get input file name |
127 |
|
if (args_info.inputs_num) |
128 |
|
inputFileName = args_info.inputs[0]; |
337 |
|
exit(1); |
338 |
|
} |
339 |
|
|
340 |
< |
writer->writeDump(); |
340 |
> |
writer->writeEor(); |
341 |
|
std::cout << "new initial configuration file: " << outInitFileName |
342 |
|
<< " is generated." << std::endl; |
343 |
|
|