| 35 |
|
* |
| 36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
| 37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
| 38 |
< |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
| 38 |
> |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). |
| 39 |
|
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
| 40 |
|
* [4] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). * |
| 41 |
|
* Created by Kelsey M. Stocker on 2/9/12. |
| 81 |
|
bool shapedLatticePentRod::isInterior(Vector3d point){ |
| 82 |
|
|
| 83 |
|
RealType x, y, z, new_x, new_y, left_newx, right_newx; |
| 84 |
< |
int z_int; |
| 84 |
> |
// int z_int; |
| 85 |
|
|
| 86 |
|
bool isIT=false; |
| 87 |
|
|
| 89 |
|
y = point[1]; |
| 90 |
|
z = point[2]; |
| 91 |
|
|
| 92 |
< |
z_int = int(z/2.04); |
| 92 |
> |
// z_int = int(z/2.04); |
| 93 |
|
|
| 94 |
|
//Rotate by 45 degrees around z-axis so length of rod lies along y axis |
| 95 |
|
new_x = (sqrt(2.0)/2)*(x - y); |