| 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). |
| 39 |
< |
* [4] Vardeman & Gezelter, in progress (2009). |
| 40 |
< |
* |
| 39 |
> |
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
| 40 |
> |
* [4] , Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). * |
| 41 |
|
* Created by J. Daniel Gezelter on 09/26/06. |
| 42 |
|
* @author J. Daniel Gezelter |
| 43 |
|
* @version $Id$ |
| 157 |
|
RealType costheta; |
| 158 |
|
RealType phi; |
| 159 |
|
RealType r; |
| 160 |
– |
RealType dist; |
| 160 |
|
std::map<std::pair<int,int>,ComplexType> q; |
| 161 |
|
std::vector<RealType> q_l; |
| 162 |
|
std::vector<RealType> q2; |
| 169 |
|
std::vector<ComplexType> W_hat; |
| 170 |
|
int nBonds, Nbonds; |
| 171 |
|
SphericalHarmonic sphericalHarmonic; |
| 172 |
< |
int i, j; |
| 172 |
> |
int i; |
| 173 |
|
|
| 174 |
|
DumpReader reader(info_, dumpFilename_); |
| 175 |
|
int nFrames = reader.getNFrames(); |
| 283 |
|
} |
| 284 |
|
} |
| 285 |
|
|
| 286 |
< |
w_hat[l] = w[l] / pow(q2[l], 1.5); |
| 286 |
> |
w_hat[l] = w[l] / pow(q2[l], RealType(1.5)); |
| 287 |
|
} |
| 288 |
|
|
| 289 |
|
collectHistogram(q_l, w_hat); |
| 328 |
|
} |
| 329 |
|
} |
| 330 |
|
|
| 331 |
< |
W_hat[l] = W[l] / pow(Q2[l], 1.5); |
| 331 |
> |
W_hat[l] = W[l] / pow(Q2[l], RealType(1.5)); |
| 332 |
|
} |
| 333 |
|
|
| 334 |
|
writeOrderParameter(Q, W_hat); |