54 |
|
#ifdef HAVE_CGAL |
55 |
|
#include "GeometryBuilder.hpp" |
56 |
|
#endif |
57 |
+ |
#include "GeometryFactory.hpp" |
58 |
+ |
#include "Geometry.hpp" |
59 |
|
#include "lattice/LatticeFactory.hpp" |
60 |
|
#include "utils/MoLocator.hpp" |
61 |
|
#include "lattice/Lattice.hpp" |
124 |
|
|
125 |
|
//get lattice type |
126 |
|
latticeType = UpperCase(args_info.latticetype_arg); |
127 |
< |
|
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 |
< |
|
127 |
> |
|
128 |
|
//get input file name |
129 |
|
if (args_info.inputs_num) |
130 |
|
inputFileName = args_info.inputs[0]; |