| 44 |
|
* |
| 45 |
|
* Created by Xiuquan Sun on 05/09/06. |
| 46 |
|
* @author Xiuquan Sun |
| 47 |
< |
* @version $Id: Hxy.cpp,v 1.6 2006-05-23 21:12:45 xsun Exp $ |
| 47 |
> |
* @version $Id: Hxy.cpp,v 1.7 2006-10-18 21:58:47 gezelter Exp $ |
| 48 |
|
* |
| 49 |
|
*/ |
| 50 |
|
|
| 204 |
|
//wrap the stuntdoubles into a cell |
| 205 |
|
for (sd = seleMan_.beginSelected(i); sd != NULL; sd = seleMan_.nextSelected(i)) { |
| 206 |
|
Vector3d pos = sd->getPos(); |
| 207 |
< |
currentSnapshot_->wrapVector(pos); |
| 207 |
> |
if (usePeriodicBoundaryConditions_) |
| 208 |
> |
currentSnapshot_->wrapVector(pos); |
| 209 |
|
sd->setPos(pos); |
| 210 |
|
} |
| 211 |
|
|