ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/nanoRodBuilder/nanorodBuilder.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/applications/nanoRodBuilder/nanorodBuilder.cpp (file contents):
Revision 2218 by chuckv, Tue May 3 17:55:28 2005 UTC vs.
Revision 2252 by chuckv, Mon May 30 14:01:52 2005 UTC

# Line 54 | Line 54
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"
# Line 122 | Line 124 | int main(int argc, char *argv []) {
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];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines