| 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 |
|
|