ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/nanorodBuilder/nanorodBuilder.cpp
(Generate patch)

Comparing trunk/nanorodBuilder/nanorodBuilder.cpp (file contents):
Revision 2148 by chuckv, Wed Apr 6 16:34:09 2005 UTC vs.
Revision 2149 by chuckv, Wed Apr 6 17:05:21 2005 UTC

# Line 175 | Line 175 | int main(int argc, char *argv []) {
175  
176                  
177                  //Assume we are carving nanorod out of a cublic block of material and that
178 <                //the shape the material will fit within that block....
178 >                //the shape the material will fit within that block....
179 >                // The model in geometry builder assumes the long axis is in the y direction and the x-z plane is the
180 >                // diameter of the particle.
181 >                // Length first
182 >                ny = (int)(rodLength/latticeConstant);
183 >                // Width
184 >                nx = (int)(rodDiameter/latticeConstant);
185 >                nz = (int)(rodDiameter/latticeConstant);
186                  
187                  
188                  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines