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 2239 by chuckv, Sun May 22 21:36:21 2005 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines